summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-04-19 21:51:34 +0200
committerPapoteur <papoteur@mageia.org>2019-04-19 21:51:34 +0200
commita64ee05148f43f7106dcd4877bda38d47f12a3fc (patch)
tree3284d7027614afd7b12174c0bcdd2a74744f1062
parente70f3abc4025ad778140c7873f200e0837bdf037 (diff)
downloadmageiawelcome-a64ee05148f43f7106dcd4877bda38d47f12a3fc.tar
mageiawelcome-a64ee05148f43f7106dcd4877bda38d47f12a3fc.tar.gz
mageiawelcome-a64ee05148f43f7106dcd4877bda38d47f12a3fc.tar.bz2
mageiawelcome-a64ee05148f43f7106dcd4877bda38d47f12a3fc.tar.xz
mageiawelcome-a64ee05148f43f7106dcd4877bda38d47f12a3fc.zip
Keep the old configuration file place
-rw-r--r--qml/mageiawelcome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index e5aea47..a76d8aa 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -128,7 +128,7 @@ class Norun(QObject):
def __init__(self):
QObject.__init__(self)
self.home = os.getenv("HOME")
- self.conffile = self.home + "/.config/mageiawelcome/norun.flag"
+ self.conffile = self.home + "/.mageiawelcome/norun.flag"
@pyqtSlot(bool)
def setRunAtLaunch(self, checked):
@@ -137,7 +137,7 @@ class Norun(QObject):
if os.path.exists(self.conffile):
os.remove( self.conffile)
else:
- os.makedirs(self.home + "/.config/mageiawelcome", exist_ok=True)
+ os.makedirs(self.home + "/.mageiawelcome", exist_ok=True)
with open( self.conffile, 'w') :
pass