fix previous commit
This commit is contained in:
parent
93699af157
commit
3a3c40f07c
|
@ -366,6 +366,7 @@ class DesktopNotification:
|
|||
hints['category'] = dbus.String(ntype)
|
||||
# it seems notification-daemon doesn't like empty text
|
||||
if self.text:
|
||||
text = self.text
|
||||
if len(self.text) > 200:
|
||||
text = '%s\n...' % self.text[:200]
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue