Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVilem Duha <vilem.duha@gmail.com>2019-05-20 13:11:38 +0300
committerVilem Duha <vilem.duha@gmail.com>2019-05-21 00:03:00 +0300
commit0f46ef3ebccb9b6b1166e1dc9d39b329f5eac54f (patch)
tree29d2a836b001426443d2dc2cd506ab1bed9f26b6 /blenderkit
parent1bbae3eaf89ad91b55355a303f043b7488e28d21 (diff)
BlenderKit: forgot to switch a queue command call to bkit_oauth
Diffstat (limited to 'blenderkit')
-rw-r--r--blenderkit/bkit_oauth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/bkit_oauth.py b/blenderkit/bkit_oauth.py
index 14274b04..f679807c 100644
--- a/blenderkit/bkit_oauth.py
+++ b/blenderkit/bkit_oauth.py
@@ -48,7 +48,7 @@ def refresh_token(api_key_refresh):
authenticator = oauth.SimpleOAuthAuthenticator(server_url=paths.get_bkit_url(), client_id=CLIENT_ID, ports=PORTS)
auth_token, refresh_token = authenticator.get_refreshed_token(api_key_refresh)
if auth_token is not None and refresh_token is not None:
- tasks_queue.add_task((blenderkit.oauth.write_tokens , (auth_token, refresh_token)))
+ tasks_queue.add_task((blenderkit.bkit_oauth.write_tokens , (auth_token, refresh_token)))
def write_tokens(auth_token, refresh_token):