BlenderKit: Fix notificatoins reading

This commit is contained in:
Vilem Duha 2021-11-15 12:13:55 +01:00
parent e83605c91c
commit 7db33f8559
1 changed files with 1 additions and 1 deletions

View File

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