make sure new variables are set
This commit is contained in:
parent
57aefb06e8
commit
e02f2e61ef
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user