1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-29 11:55:45 +01: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

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