Better transfer completed feedback in rncp, thanks to neutral

This commit is contained in:
Mark Qvist
2026-05-15 14:27:17 +02:00
parent 7e46422c16
commit 5667a0bbac
+2
View File
@@ -306,6 +306,7 @@ def receive_resource_concluded(resource):
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:
RNS.log(f"An error occurred while saving received resource: {e}", RNS.LOG_ERROR)
@@ -514,6 +515,7 @@ 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}")