Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Feb 10, 2025
1 parent 061693f commit e19de44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nicegui/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ async def _create_tab_storage(self, tab_id: str) -> None:
if Storage.redis_url:
self._tabs[tab_id] = Storage._create_persistent_dict(f'tab-{tab_id}')
tab = self._tabs[tab_id]
if isinstance(tab, PersistentDict):
await tab.initialize()
assert isinstance(tab, PersistentDict)
await tab.initialize()
else:
self._tabs[tab_id] = ObservableDict()

Expand Down

0 comments on commit e19de44

Please sign in to comment.