fix a small error that caused deletion of your hud_config when saving.. oopsie
This commit is contained in:
@@ -502,7 +502,7 @@ class Config:
|
||||
self.doc.writexml(f)
|
||||
else:
|
||||
shutil.move(self.file, self.file+".backup")
|
||||
with open(self.file, 'w'):
|
||||
with open(self.file, 'w') as f:
|
||||
self.doc.writexml(f)
|
||||
|
||||
def edit_layout(self, site_name, max, width = None, height = None,
|
||||
|
||||
Reference in New Issue
Block a user