Now stores the final path correctly

Now uses .devedeng to store the configuration, allowing to co-exist with classic devede
This commit is contained in:
Sergio Costas 2014-08-09 18:51:32 +02:00
parent acbc254bc8
commit 2f8a8dc1e4
2 changed files with 7 additions and 4 deletions

View file

@ -47,10 +47,13 @@ class create_disk_window:
self.name = self.wname.get_text()
self.path = os.path.join(self.wpath.get_current_folder(),self.name)
self.shutdown = wshutdown.get_active()
if (retval == 1):
self.config.final_folder = self.wpath.get_current_folder()
self.config.save_config()
wcreate_window.destroy()
if (retval == 1):
self.config.final_folder = self.path
self.config.save_config()
return True
else:
return False