changeset 486:f826ebb7f605

code: update `fileDownloadComplete` bridge call, following backend change
author Goffi <goffi@goffi.org>
date Sat, 15 Oct 2022 14:20:38 +0200
parents f046092ba883
children 38ca44d96752
files cagou/core/cagou_main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Fri Sep 23 18:03:58 2022 +0200
+++ b/cagou/core/cagou_main.py	Sat Oct 15 14:20:38 2022 +0200
@@ -1110,7 +1110,7 @@
         else:
             raise exceptions.InternalError(f"Invalid dest_path: {dest_path!r}")
         self.bridge.fileDownloadComplete(
-            url.geturl(),
+            data_format.serialise({"uri": url.geturl()}),
             str(dest_path),
             '' if not options else data_format.serialise(options),
             profile,