Modified HHC so gtk & pygtk are imported to execute a callback only if import is run from the gui

This commit is contained in:
Chaz Littlejohn
2011-03-23 19:34:15 +00:00
parent 3e9dacf900
commit 7c31a19077
2 changed files with 7 additions and 7 deletions
+1
View File
@@ -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) = ([], [], [], [], [], [])