FTP: fix import

This commit is contained in:
steffen123 2010-07-23 02:07:49 +02:00
parent 3759af4902
commit de8b9e89c5

View File

@ -203,9 +203,9 @@ class Fulltilt(HandHistoryConverter):
hand.tablename = m.group('TABLE') hand.tablename = m.group('TABLE')
try: try:
hand.starttime = datetime.datetime.strptime(m.group('DATETIME'), "%H:%M:%S ET - %Y/%m/%d") hand.startTime = datetime.datetime.strptime(m.group('DATETIME'), "%H:%M:%S ET - %Y/%m/%d")
except: except:
hand.starttime = datetime.datetime.strptime(m.group('DATETIME'), "%H:%M ET - %a, %B %d, %Y") hand.startTime = datetime.datetime.strptime(m.group('DATETIME'), "%H:%M ET - %a, %B %d, %Y")
hand.startTime = HandHistoryConverter.changeTimezone(hand.startTime, "ET", "UTC") hand.startTime = HandHistoryConverter.changeTimezone(hand.startTime, "ET", "UTC")