Modified HHC so gtk & pygtk are imported to execute a callback only if import is run from the gui
This commit is contained in:
@@ -453,6 +453,7 @@ class Importer:
|
||||
,sitename = site )
|
||||
|
||||
if hhc.getStatus():
|
||||
if self.caller: hhc.progressNotify()
|
||||
handlist = hhc.getProcessedHands()
|
||||
self.pos_in_file[file] = hhc.getLastCharacterRead()
|
||||
(hbulk, hpbulk, habulk, hcbulk, phands, ihands) = ([], [], [], [], [], [])
|
||||
|
||||
Reference in New Issue
Block a user