Merge pull request #136 from Joaz/master

disconnect after print with printcore
master
kliment 2011-12-19 21:20:27 -08:00
commit a4b375194d
1 changed files with 2 additions and 0 deletions

View File

@ -310,5 +310,7 @@ if __name__ == '__main__':
if statusreport:
sys.stdout.write("\b\b\b\b%02.1f%%" % (100*float(p.queueindex)/len(p.mainqueue),) )
sys.stdout.flush()
p.disconnect()
sys.exit(0)
except:
p.disconnect()