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

@ -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:")