Skip to content

Commit

Permalink
Update up.py
Browse files Browse the repository at this point in the history
  • Loading branch information
huangwb8 committed Nov 5, 2023
1 parent b3cd54f commit f855f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m2w/up.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def up(
shutil.copyfile(path_legacy_json + "_temporary_latest", path_legacy_json)
break
except Exception as e:
print("OOPS, the REST API mode failed!")
print("OOPS, the upload/update process failed!")
if os.path.exists(path_legacy_json + "_temporary_old"):
shutil.copyfile(path_legacy_json + "_temporary_old", path_legacy_json)
if retry < max_retries - 1:
Expand Down

0 comments on commit f855f1b

Please sign in to comment.