Skip to content
Snippets Groups Projects
Commit f0c6a8cd authored by Vilém Duha's avatar Vilém Duha
Browse files

BlenderKit: only try to request profile for logged in users.

parent 8143153c
Branches
Tags
No related merge requests found
...@@ -108,7 +108,8 @@ def fetch_server_data(): ...@@ -108,7 +108,8 @@ def fetch_server_data():
# version_checker.check_version_thread(url, api_key, blenderkit) # version_checker.check_version_thread(url, api_key, blenderkit)
if user_preferences.enable_oauth: if user_preferences.enable_oauth:
bkit_oauth.refresh_token_thread() bkit_oauth.refresh_token_thread()
get_profile() if api_key != '':
get_profile()
categories.fetch_categories_thread(api_key) categories.fetch_categories_thread(api_key)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment