1
This commit is contained in:
1 parent
5042a4c2e5
commit
1e0cc269c8
1 file changed
+2
-2
@@ -605,11 +605,11 @@ def main(workdir, r, print_id):
|
|||||||
shutil.rmtree(os.path.join(workdir, f'{pid}_{order_id}'))
|
shutil.rmtree(os.path.join(workdir, f'{pid}_{order_id}'))
|
||||||
if only_one:
|
if only_one:
|
||||||
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} 运行{print_id}任务完成,退出程序')
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} 运行{print_id}任务完成,退出程序')
|
||||||
break
|
return
|
||||||
else:
|
else:
|
||||||
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} 运行{print_id}任务完成,继续运行下一个任务')
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} 运行{print_id}任务完成,继续运行下一个任务')
|
||||||
print_id = '0'
|
print_id = '0'
|
||||||
continue
|
return
|
||||||
|
|
||||||
# restart_current_process("blender -b -P fill_dm_code.py")
|
# restart_current_process("blender -b -P fill_dm_code.py")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user