[Bf-extensions-cvs] [0f46ef3e] master: BlenderKit: forgot to switch a queue command call to bkit_oauth

Vilem Duha noreply at git.blender.org
Mon May 20 23:09:40 CEST 2019


Commit: 0f46ef3ebccb9b6b1166e1dc9d39b329f5eac54f
Author: Vilem Duha
Date:   Mon May 20 12:11:38 2019 +0200
Branches: master
https://developer.blender.org/rBA0f46ef3ebccb9b6b1166e1dc9d39b329f5eac54f

BlenderKit: forgot to switch a queue command call to bkit_oauth

===================================================================

M	blenderkit/bkit_oauth.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list