diff --git a/src/devede/configuration_data.py b/src/devede/configuration_data.py index 5c06736..3665de3 100644 --- a/src/devede/configuration_data.py +++ b/src/devede/configuration_data.py @@ -102,7 +102,7 @@ class configuration(GObject.GObject): self.subt_outline_color = (0,0,0,1) self.subt_outline_thickness = 0.0 - config_path = os.path.join(os.environ.get("HOME"),".devede") + config_path = os.path.join(os.environ.get("HOME"),".devedeng") try: config_data = open(config_path,"r") for linea in config_data: @@ -176,7 +176,7 @@ class configuration(GObject.GObject): def save_config(self): - config_path = os.path.join(os.environ.get("HOME"),".devede") + config_path = os.path.join(os.environ.get("HOME"),".devedeng") try: config_data = open(config_path,"w") config_data.write("video_format:") diff --git a/src/devede/create_disk_window.py b/src/devede/create_disk_window.py index 0d60725..fffe552 100644 --- a/src/devede/create_disk_window.py +++ b/src/devede/create_disk_window.py @@ -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