1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-25 07:51:25 +02:00

Added code to debug why pynotify fails

This commit is contained in:
Adam Blackburn
2009-05-05 12:55:35 +08:00
parent cd391b8ff5
commit 4317cb0cda
+2
View File
@@ -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