diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2019-04-30 01:55:11 +0300 |
---|---|---|
committer | Vilem Duha <vilem.duha@gmail.com> | 2019-05-19 16:45:49 +0300 |
commit | 2f9bd3f0ffff093dfc5bdfdce0aeaada243423ae (patch) | |
tree | 8fe89fe43b26217573be66c8b2c63e2d307bf5fb /blenderkit/oauth.py | |
parent | 5412d45d9e682d0b8fe8437b735ee06979e34f02 (diff) |
BlenderKit: enable uploading private assets
-fix queue, the handler was getting lost after file load.
-some comments
Diffstat (limited to 'blenderkit/oauth.py')
-rw-r--r-- | blenderkit/oauth.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/blenderkit/oauth.py b/blenderkit/oauth.py index f2cdf3e8..b0359157 100644 --- a/blenderkit/oauth.py +++ b/blenderkit/oauth.py @@ -26,7 +26,7 @@ from urllib.parse import parse_qs, urlparse import requests import threading import blenderkit -from blenderkit import tasks_queue, utils, paths +from blenderkit import tasks_queue, utils, paths, search CLIENT_ID = "IdFRwa3SGA8eMpzhRVFMg5Ts8sPK93xBjif93x0F" PORTS = [62485, 1234] @@ -125,7 +125,9 @@ def write_tokens(auth_token, refresh_token): preferences.api_key_refresh = refresh_token preferences.login_attempt = False props = utils.get_search_props() + props.report = 'Login success!' + search.get_profile() class RegisterLoginOnline(bpy.types.Operator): |