From de8b9e89c54ba02f5ab0a1bbb37941d3761a4d1e Mon Sep 17 00:00:00 2001 From: steffen123 Date: Fri, 23 Jul 2010 02:07:49 +0200 Subject: [PATCH] FTP: fix import --- pyfpdb/FulltiltToFpdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index 290f2f42..93b6fe00 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -203,9 +203,9 @@ class Fulltilt(HandHistoryConverter): hand.tablename = m.group('TABLE') 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: - 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")