Переглянути джерело

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')