1
This commit is contained in:
1 parent
2128b421af
commit
1b79e524be
1 file changed
+2
-7
@@ -603,13 +603,8 @@ def main(workdir, r, print_id):
|
|||||||
# 删除临时文件
|
# 删除临时文件
|
||||||
print("workdirworkdir",workdir)
|
print("workdirworkdir",workdir)
|
||||||
shutil.rmtree(os.path.join(workdir, f'{pid}_{order_id}'))
|
shutil.rmtree(os.path.join(workdir, f'{pid}_{order_id}'))
|
||||||
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}任务完成,退出程序')
|
|
||||||
return
|
|
||||||
else:
|
|
||||||
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} 运行{print_id}任务完成,继续运行下一个任务')
|
|
||||||
print_id = '0'
|
|
||||||
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