mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-10-13 18:32:15 +00:00
Fixed bug with notifyrc
This commit is contained in:
1 parent
b7f4b80c7e
commit
60f1cd8c58
3 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@ class pyTextWidget(plasmascript.Applet):
|
||||
self.setHasConfigurationInterface(True)
|
||||
# Create notifyrc file if required
|
||||
kdehome = unicode(KGlobal.dirs().localkdedir())
|
||||
if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) or
|
||||
if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) and
|
||||
(not os.path.exists("/usr" + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc"))):
|
||||
self.createNotifyrc(kdehome)
|
||||
|
||||
|
||||
Reference in new issue
Block a user