diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2021-11-15 14:13:55 +0300 |
---|---|---|
committer | Vilem Duha <vilem.duha@gmail.com> | 2021-11-15 14:13:55 +0300 |
commit | 7db33f85591f77d93d1a595e56695333f463e744 (patch) | |
tree | b06aa71af101fcfbcbbfa5ec706af901c41d8336 | |
parent | e83605c91c0960115c62778ac0c0436bf7edcbfb (diff) |
BlenderKit: Fix notificatoins reading
-rw-r--r-- | blenderkit/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/search.py b/blenderkit/search.py index 36e4e172..125b7266 100644 --- a/blenderkit/search.py +++ b/blenderkit/search.py @@ -431,7 +431,7 @@ def search_timer(): if first_search_parsing: first_search_parsing = False all_notifications_count = comments_utils.count_all_notifications() - comments_utils.get_notifications_thread(api_key, all_count=all_notifications_count) + comments_utils.get_notifications_thread(preferences.api_key, all_count=all_notifications_count) if utils.experimental_enabled() and not bpy.app.timers.is_registered( refresh_notifications_timer) and not bpy.app.background: bpy.app.timers.register(refresh_notifications_timer, persistent=True, first_interval=5) |