Преглед на файлове

fix #1511 (broken storage example)

Rodja Trappe преди 1 година
родител
ревизия
5e2a9f2d4b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      website/more_documentation/storage_documentation.py

+ 1 - 1
website/more_documentation/storage_documentation.py

@@ -61,7 +61,7 @@ def more() -> None:
         #
         # @ui.page('/')
         # def index():
-        #     counter[app.storage.session.browser[id]] += 1
+        #     counter[app.storage.browser['id']] += 1
         #     ui.label(f'{len(counter)} unique views ({sum(counter.values())} overall) since {start}')
         #
         # ui.run(storage_secret='private key to secure the browser session cookie')