ctrl-c is fine while there are no more encodes
This commit is contained in:
parent
c52fcca2ac
commit
3c9bb6b94f
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue