diff --git a/pyfpdb/HUD_config.xml.example b/pyfpdb/HUD_config.xml.example index d6aed156..93a499da 100644 --- a/pyfpdb/HUD_config.xml.example +++ b/pyfpdb/HUD_config.xml.example @@ -282,16 +282,16 @@ Left-Drag to Move" - - - - - - - - - - + + + + + + + + + + diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index 8cf45f02..4871e4f3 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -32,8 +32,14 @@ from xml.dom.minidom import Node import time import datetime -from pytz import timezone -import pytz + +try: + from pytz import timezone + import pytz +except ImportError: + print _("ImportError: Unable to import PYTZ library. Please install PYTZ from http://pypi.python.org/pypi/pytz/") + raw_input(_("Press ENTER to continue.")) + exit() import logging # logging has been set up in fpdb.py or HUD_main.py, use their settings: