Moved initialization to avoid race condition

This commit is contained in:
Anna 2010-06-21 15:11:42 -04:00
parent 6691c751bc
commit 676b9d2e3e

View File

@ -18,6 +18,9 @@ class Hrafn():
self.resize = resize self.resize = resize
self.lists = {}
self.lists_cond = Condition()
config = ConfigParser.ConfigParser() config = ConfigParser.ConfigParser()
config.read(os.path.expanduser(config_file)) config.read(os.path.expanduser(config_file))
@ -81,9 +84,6 @@ class Hrafn():
self.reply_id = None self.reply_id = None
self.lists = {}
self.lists_cond = Condition()
# Load up all the programmatic GUI stuff # Load up all the programmatic GUI stuff
self.init_widgets() self.init_widgets()