diff libervia/pages/_browser/cache.py @ 1510:5ea06e8b06ed

browser: make bridge API closer to the one use with other frontends: `bridge.AsyncBridge` is not used instead of `aio_bridge.Bridge`
author Goffi <goffi@goffi.org>
date Mon, 22 May 2023 11:57:44 +0200
parents 106bae41f5c8
children
line wrap: on
line diff
--- a/libervia/pages/_browser/cache.py	Sat Apr 08 13:44:11 2023 +0200
+++ b/libervia/pages/_browser/cache.py	Mon May 22 11:57:44 2023 +0200
@@ -2,10 +2,10 @@
 from browser.local_storage import storage
 from javascript import JSON
 from dialog import notification
-from bridge import bridge
+from bridge import Bridge
 
 session_uuid = window.session_uuid
-bridge = bridge()
+bridge = Bridge()
 
 # XXX: we don't use browser.object_storage because it is affected by
 #   https://github.com/brython-dev/brython/issues/1467 and mixing local_storage.storage