Browse Source

changed configuration path according to program name

pull/3/head
Rinaldus 7 years ago
parent
commit
00129789b8
  1. 2
      mail-notifier.py

2
mail-notifier.py

@ -19,7 +19,7 @@ import hashlib, uuid @@ -19,7 +19,7 @@ import hashlib, uuid
#variables
timers = []
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():
if ((settings.contains("CheckInterval") and settings.value("CheckInterval") != "") and
(settings.contains("Notify") and settings.value("Notify") != "") and

Loading…
Cancel
Save