diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index f7b1e482..a3179918 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -88,7 +88,7 @@ class HandHistoryConverter: self.hhbase = os.path.expanduser(self.hhbase) self.hhdir = os.path.join(self.hhbase,sitename) self.gametype = [] - self.ofile = os.path.join(self.hhdir,file) + self.ofile = os.path.join(self.hhdir, os.path.basename(file)) self.rexx = FpdbRegex.FpdbRegex() def __str__(self): diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index e2e5302e..e5dafe4c 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -205,6 +205,9 @@ class Importer: if filter == "EverleafToFpdb": print "converting ", file conv = EverleafToFpdb.Everleaf(self.config, file) + elif filter == "FulltiltToFpdb": + print "converting ", file + conv = FulltiltToFpdb.Fulltilt(self.config, file) else: print "Unknown filter ", filter return