[Bf-extensions-cvs] [a24407df] master: BlenderKit: comment out unfinished error parsing.
Vilem Duha
noreply at git.blender.org
Thu Jun 27 03:04:07 CEST 2019
Commit: a24407df8a1863f5ec27e46ef05df9d59eae229c
Author: Vilem Duha
Date: Thu Jun 27 03:01:15 2019 +0200
Branches: master
https://developer.blender.org/rBAa24407df8a1863f5ec27e46ef05df9d59eae229c
BlenderKit: comment out unfinished error parsing.
===================================================================
M blenderkit/upload.py
===================================================================
diff --git a/blenderkit/upload.py b/blenderkit/upload.py
index 09604290..0910a666 100644
--- a/blenderkit/upload.py
+++ b/blenderkit/upload.py
@@ -648,10 +648,10 @@ def start_upload(self, context, asset_type, as_new, metadata_only):
try:
rj = r.json()
utils.pprint(rj)
- if r.status_code not in (200, 201):
- if r.status_code == 401:
- ui.add_report(r.detail, 5, colors.RED)
- return {'CANCELLED'}
+ # if r.status_code not in (200, 201):
+ # if r.status_code == 401:
+ # ui.add_report(r.detail, 5, colors.RED)
+ # return {'CANCELLED'}
if props.asset_base_id == '':
props.asset_base_id = rj['assetBaseId']
props.id = rj['id']
More information about the Bf-extensions-cvs
mailing list