Commit a4b37519 authored by kliment's avatar kliment

Merge pull request #136 from Joaz/master

disconnect after print with printcore
parents deb8afe4 5dc84c4f
...@@ -310,5 +310,7 @@ if __name__ == '__main__': ...@@ -310,5 +310,7 @@ if __name__ == '__main__':
if statusreport: if statusreport:
sys.stdout.write("\b\b\b\b%02.1f%%" % (100*float(p.queueindex)/len(p.mainqueue),) ) sys.stdout.write("\b\b\b\b%02.1f%%" % (100*float(p.queueindex)/len(p.mainqueue),) )
sys.stdout.flush() sys.stdout.flush()
p.disconnect()
sys.exit(0)
except: except:
p.disconnect() 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