THP: Minor updates

This commit is contained in:
Worros
2011-03-30 13:29:39 +08:00
parent 9b59d8fb9c
commit 3e6c5b6f31
+5 -2
View File
@@ -21,8 +21,6 @@
import sys
import os
import codecs
import pprint
import PokerStarsToFpdb
from Hand import *
import Configuration
import Database
@@ -31,6 +29,8 @@ import fpdb_import
import Options
import datetime
import pytz
import pprint
pp = pprint.PrettyPrinter(indent=4)
DEBUG = False
@@ -149,6 +149,9 @@ def compare_hands_file(filename, importer, errors):
for hand in handlist:
ghash = hand.stats.getHands()
# Delete unused data from hash
del ghash['gsc']
del ghash['sc']
for datum in ghash:
#print "DEBUG: hand: '%s'" % datum
try: