ctrl-c is fine while there are no more encodes

This commit is contained in:
j 2013-06-22 13:01:41 +02:00
parent c52fcca2ac
commit 3c9bb6b94f

View file

@ -75,8 +75,11 @@ class DistributedClient:
if not self.next():
if new:
new = False
print "currently no more files to encode"
print "currently no more files to encode, ctrl-c to quit"
try:
time.sleep(60)
except KeyboardInterrupt:
return
else:
new = True