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 gtk
import os import os
from time import time, strftime, localtime from time import time, strftime, localtime
try:
from numpy import diff, nonzero 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 Card
import fpdb_import import fpdb_import