THP: Make less noisy
This commit is contained in:
parent
1e3bbd6047
commit
9eb0138f3d
|
@ -32,6 +32,8 @@ import Options
|
|||
import datetime
|
||||
import pytz
|
||||
|
||||
DEBUG = False
|
||||
|
||||
|
||||
class FpdbError:
|
||||
def __init__(self, sitename):
|
||||
|
@ -172,8 +174,8 @@ def compare(leaf, importer, errors, site):
|
|||
# Test if this is a hand history file
|
||||
if filename.endswith('.txt'):
|
||||
# test if there is a .hp version of the file
|
||||
print "Site: %s" % site
|
||||
print "Filename: %s" % filename
|
||||
if DEBUG: print "Site: %s" % site
|
||||
if DEBUG: print "Filename: %s" % filename
|
||||
importer.addBulkImportImportFileOrDir(filename, site=site)
|
||||
(stored, dups, partial, errs, ttime) = importer.runImport()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user