Added code to debug why pynotify fails
This commit is contained in:
1 parent
cd391b8ff5
commit
4317cb0cda
1 file changed
+2
@@ -49,8 +49,10 @@ try:
|
|||||||
pygtk.require('2.0')
|
pygtk.require('2.0')
|
||||||
import pynotify
|
import pynotify
|
||||||
if not pynotify.init("Wicd"):
|
if not pynotify.init("Wicd"):
|
||||||
|
print 'could not initalize pynotify'
|
||||||
HAS_NOTIFY = False
|
HAS_NOTIFY = False
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
print 'import failed
|
||||||
HAS_NOTIFY = False
|
HAS_NOTIFY = False
|
||||||
|
|
||||||
# Wicd specific imports
|
# Wicd specific imports
|
||||||
|
|||||||
Reference in new issue
Block a user