Skip to content

Commit

Permalink
remove upload print
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiesel authored and MinmoTech committed Oct 20, 2023
1 parent dbf7bb6 commit ef79fd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/migaku_connection/srs_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,11 @@ def _upload_media_single_attempt(fname, user_token, is_audio=False):
raise Exception(f"upload failed, requests, {r.status_code}, {r.text}")

upload_info = r.json()
file_path = upload_info["filePath"]

global upload_data_size
upload_data_size += len(data)

file_path = upload_info["filePath"]
print(f"uploaded {fname} to r2://{file_path}")

return "r2://" + file_path


Expand Down

0 comments on commit ef79fd0

Please sign in to comment.