mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 19:01:53 -04:00
Cleanup
This commit is contained in:
parent
e7a317f0a0
commit
f3f4d9bca3
1 changed files with 1 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ def receive_resource_concluded(resource):
|
|||
full_save_path = saved_filename+"."+str(counter)
|
||||
|
||||
shutil.move(resource.data.name, full_save_path)
|
||||
RNS.log("Saved received file to "+full_save_path, RNS.LOG_INFO)
|
||||
RNS.log("Saved received file to "+full_save_path, RNS.LOG_NOTICE)
|
||||
|
||||
except Exception as e:
|
||||
RNS.log(f"An error occurred while saving received resource: {e}", RNS.LOG_ERROR)
|
||||
|
|
@ -515,7 +515,6 @@ def fetch(configdir, identitypath = None, verbosity = 0, quietness = 0, destinat
|
|||
full_save_path = saved_filename+"."+str(counter)
|
||||
|
||||
shutil.move(resource.data.name, full_save_path)
|
||||
print("Saved received file to "+full_save_path)
|
||||
|
||||
except Exception as e:
|
||||
print(f"An error occurred while saving received resource: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue