mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0bfc1f2798
commit
5dae12447e
@ -60,7 +60,8 @@ class Stage2(Command):
|
|||||||
for p in processes:
|
for p in processes:
|
||||||
rc = p.poll()
|
rc = p.poll()
|
||||||
if rc is not None:
|
if rc is not None:
|
||||||
p.duration = int(time.time() - p.start_time)
|
if p.duration is None:
|
||||||
|
p.duration = int(time.time() - p.start_time)
|
||||||
else:
|
else:
|
||||||
running = True
|
running = True
|
||||||
return running
|
return running
|
||||||
|
Loading…
x
Reference in New Issue
Block a user