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

This commit is contained in:
Vilém Duha 2019-08-13 16:38:34 +02:00
parent 8143153cfd
commit f0c6a8cdaf
1 changed files with 2 additions and 1 deletions

View File

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