Move functions from fpdb_save_to_db into Database.py

Doesn't actually do much cleanup.

Intend on moving all db functions into Database.py and fpdb_db.py and
providing and API, the functionality of fpdb_simple et all to shift into
the HHC
This commit is contained in:
Worros
2009-06-20 04:15:52 +08:00
parent fdf4b65136
commit f1921bebde
4 changed files with 189 additions and 202 deletions
+2 -2
View File
@@ -394,8 +394,8 @@ class Importer:
self.hand=hand
try:
handsId = fpdb_parse_logic.mainParser(self.settings, self.fdb.db
,self.fdb.cursor, self.siteIds[site], category, hand, self.config)
handsId = fpdb_parse_logic.mainParser(self.settings, self.fdb
, self.siteIds[site], category, hand, self.config)
self.fdb.db.commit()
stored += 1