summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Notify.py
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-03-01 18:31:27 +0100
committerAnton Khirnov <wyskas@gmail.com>2009-03-01 18:31:27 +0100
commit94ea8a8e929c01f18d62d503aaa14cb1ffba1f47 (patch)
treeed580ec69a3c6a03137b706b702d00957e31157a /nephilim/plugins/Notify.py
parent586ef5f203e206ea0c349dfc2ff21e1ac81b25e1 (diff)
misc: remove unexpanded tags.
Diffstat (limited to 'nephilim/plugins/Notify.py')
-rw-r--r--nephilim/plugins/Notify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/plugins/Notify.py b/nephilim/plugins/Notify.py
index ccfc393..b784534 100644
--- a/nephilim/plugins/Notify.py
+++ b/nephilim/plugins/Notify.py
@@ -2,7 +2,7 @@ from PyQt4 import QtGui, QtCore
from PyQt4.QtCore import QVariant
from traceback import print_exc
-from ..misc import sec2min, ORGNAME, APPNAME
+from ..misc import sec2min, ORGNAME, APPNAME, expand_tags
from ..clPlugin import Plugin
from .. import plugins
@@ -102,7 +102,7 @@ class Notify(Plugin):
if not song:
return
self.settings.beginGroup(self.name)
- self.o.show(song.expand_tags(self.settings.value('songformat').toString()), self.settings.value('timer').toInt()[0],
+ self.o.show(expand_tags(self.settings.value('songformat').toString(), (song,)), self.settings.value('timer').toInt()[0],
NOTIFY_PRIORITY_SONG)
self.settings.endGroup()