make sure new variables are set

This commit is contained in:
sqlcoder 2010-09-01 21:20:22 +01:00
parent 57aefb06e8
commit e02f2e61ef

View File

@ -680,6 +680,7 @@ class Config:
sys.stderr.write(_("Configuration file %s not found. Using defaults.") % (file)) sys.stderr.write(_("Configuration file %s not found. Using defaults.") % (file))
file = None file = None
self.example_copy,example_file = True,None
if file is None: (file,self.example_copy,example_file) = get_config("HUD_config.xml", True) if file is None: (file,self.example_copy,example_file) = get_config("HUD_config.xml", True)
self.file = file self.file = file