Moved initialization to avoid race condition
This commit is contained in:
parent
6691c751bc
commit
676b9d2e3e
6
hrafn.py
6
hrafn.py
|
@ -18,6 +18,9 @@ class Hrafn():
|
|||
|
||||
self.resize = resize
|
||||
|
||||
self.lists = {}
|
||||
self.lists_cond = Condition()
|
||||
|
||||
config = ConfigParser.ConfigParser()
|
||||
config.read(os.path.expanduser(config_file))
|
||||
|
||||
|
@ -81,9 +84,6 @@ class Hrafn():
|
|||
|
||||
self.reply_id = None
|
||||
|
||||
self.lists = {}
|
||||
self.lists_cond = Condition()
|
||||
|
||||
# Load up all the programmatic GUI stuff
|
||||
self.init_widgets()
|
||||
|
||||
|
|
Reference in New Issue
Block a user