[Bf-extensions-cvs] [7db33f85] blender-v3.0-release: BlenderKit: Fix notificatoins reading

Vilem Duha noreply at git.blender.org
Mon Nov 15 12:14:02 CET 2021


Commit: 7db33f85591f77d93d1a595e56695333f463e744
Author: Vilem Duha
Date:   Mon Nov 15 12:13:55 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rBA7db33f85591f77d93d1a595e56695333f463e744

BlenderKit: Fix notificatoins reading

===================================================================

M	blenderkit/search.py

===================================================================

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)



More information about the Bf-extensions-cvs mailing list