上传坐标的时候判断是否走新的建模系统,不是的话要修改成是

This commit is contained in:
dongchangxi committed 2023-10-22 16:38:56 +08:00
1 parent 05438bb2da
commit fb5a0683e9
2 files changed
+19 -1

No files matched your search

+2
View File
@@ -92,6 +92,8 @@ def main(pid, lock=False):
upload_or_not = input('是否上传oss?(y/n)')
if upload_or_not == 'y':
upload_xmp(pid)
#上传坐标的话要判断该影棚是否走新的建模系统,如果不是走新的建模系统,就要更新为走新的建模系统
libs_db.change_to_new_make_psid(psid):
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} {pid} xmp文件上传完成,共费时{libs.diff_time(start_time)}')
delete_or_not = input('是否删除本地文件?(y/n)')