diff cagou/core/platform_/base.py @ 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 ddca5a837029
children 3c9ba4a694ef
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)