Commit 5dc84c4f authored by jglauche's avatar jglauche

make sure to disconnect and exit when printing is done.

parent f8417bbb
......@@ -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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment