Add guards around numpy in GuiSessionViewer for windows users

This commit is contained in:
Worros 2009-09-03 11:29:30 +08:00
parent c80bb3ac3f
commit b4ccc7f45c

View File

@ -21,7 +21,11 @@ pygtk.require('2.0')
import gtk
import os
from time import time, strftime, localtime
from numpy import diff, nonzero
try:
from numpy import diff, nonzero
except:
print """Failed to load numpy in Session Viewer"""
print """This is of no consequence as the module currently doesn't do anything."""
import Card
import fpdb_import