1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 07:02:29 +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')
import pynotify
if not pynotify.init("Wicd"):
print 'could not initalize pynotify'
HAS_NOTIFY = False
except ImportError:
print 'import failed
HAS_NOTIFY = False
# Wicd specific imports