changed configuration path according to program name
This commit is contained in:
parent
14de4e5c55
commit
00129789b8
|
@ -19,7 +19,7 @@ import hashlib, uuid
|
||||||
#variables
|
#variables
|
||||||
timers = []
|
timers = []
|
||||||
programTitle = "Mail Notifier"
|
programTitle = "Mail Notifier"
|
||||||
settings = QSettings(os.path.expanduser("~")+"/.config/mail-notify/settings.conf", QSettings.NativeFormat)
|
settings = QSettings(os.path.expanduser("~")+"/.config/mail-notifier/settings.conf", QSettings.NativeFormat)
|
||||||
def SettingsExist():
|
def SettingsExist():
|
||||||
if ((settings.contains("CheckInterval") and settings.value("CheckInterval") != "") and
|
if ((settings.contains("CheckInterval") and settings.value("CheckInterval") != "") and
|
||||||
(settings.contains("Notify") and settings.value("Notify") != "") and
|
(settings.contains("Notify") and settings.value("Notify") != "") and
|
||||||
|
|
Loading…
Reference in New Issue