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-06-01 19:21:40 +0300
committerVilem Duha <vilem.duha@gmail.com>2019-06-01 19:49:19 +0300
commit75fc9e45892dd8b011a4facf3d549b0df0d7a6dd (patch)
treecea8a61e85d5f6ee5baf9684a8c01fca0c0e2431 /blenderkit/paths.py
parent07d74a9b2e341c2eea77404b25d45791e3c46296 (diff)
BlenderKit: fix a bug in text splitting(could run eternal while) and fix wrong argument in Oauth
Diffstat (limited to 'blenderkit/paths.py')
-rw-r--r--blenderkit/paths.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/paths.py b/blenderkit/paths.py
index 6103ce8a..df765b3f 100644
--- a/blenderkit/paths.py
+++ b/blenderkit/paths.py
@@ -18,6 +18,7 @@
import bpy, os, sys
+_presets = os.path.join(bpy.utils.user_resource('SCRIPTS'), "presets")
BLENDERKIT_LOCAL = "http://localhost:8001"
BLENDERKIT_MAIN = "https://www.blenderkit.com"
BLENDERKIT_DEVEL = "https://devel.blenderkit.com"
@@ -34,7 +35,6 @@ BLENDERKIT_SIGNUP_URL = "https://www.blenderkit.com/accounts/register"
BLENDERKIT_ADDON_URL = "https://www.blenderkit.com/api/v1/assets/6923b215-7df0-46f3-95ae-a2b5ff44ddd5/"
BLENDERKIT_ADDON_FILE_URL = "https://www.blenderkit.com/get-blenderkit/"
BLENDERKIT_SETTINGS_FILENAME = os.path.join(_presets, "bkit.json")
-_presets = os.path.join(bpy.utils.user_resource('SCRIPTS'), "presets")
def get_bkit_url():