BlenderKit: only try to request profile for logged in users.
This commit is contained in:
parent
8143153cfd
commit
f0c6a8cdaf
|
@ -108,7 +108,8 @@ def fetch_server_data():
|
|||
# version_checker.check_version_thread(url, api_key, blenderkit)
|
||||
if user_preferences.enable_oauth:
|
||||
bkit_oauth.refresh_token_thread()
|
||||
get_profile()
|
||||
if api_key != '':
|
||||
get_profile()
|
||||
categories.fetch_categories_thread(api_key)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue