changeset 456:2cfb9f7a6b62

platform (base): call again "open_url" after decrypting a file: "open_url" is called again instead of directly _open, because it can call a platform specific open which can work now that the file has been decrypted.
author Goffi <goffi@goffi.org>
date Wed, 01 Apr 2020 23:59:00 +0200
parents 642cd2435e26
children ec11a35dcf14
files cagou/core/platform_/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/platform_/base.py	Wed Apr 01 23:59:00 2020 +0200
+++ b/cagou/core/platform_/base.py	Wed Apr 01 23:59:00 2020 +0200
@@ -123,7 +123,7 @@
                 G.host.errback(exceptions.InternalError(msg))
                 return
             G.host.downloadURL(
-                parsed_url, self._open, G.host.errback, profile=quick_widget.profile
+                parsed_url, self.open_url, G.host.errback, profile=quick_widget.profile
             )
         else:
             self._open(url)