summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Notify.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/plugins/Notify.py')
-rw-r--r--nephilim/plugins/Notify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/plugins/Notify.py b/nephilim/plugins/Notify.py
index 4a86cfb..901e936 100644
--- a/nephilim/plugins/Notify.py
+++ b/nephilim/plugins/Notify.py
@@ -159,7 +159,7 @@ class Notify(Plugin):
def save_settings(self):
self.settings.beginGroup(self.plugin.name)
self.settings.setValue('songformat', QVariant(self.format.text()))
- self.settings.setValue('timer', QVariant(self.timer.text().toInt()[0]))
+ self.settings.setValue('timer', QVariant(int(self.timer.text())))
self.settings.endGroup()
self.plugin.onSongChange()