From a24407df8a1863f5ec27e46ef05df9d59eae229c Mon Sep 17 00:00:00 2001 From: Vilem Duha <vilem.duha@gmail.com> Date: Thu, 27 Jun 2019 03:01:15 +0200 Subject: [PATCH] BlenderKit: comment out unfinished error parsing. --- blenderkit/upload.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blenderkit/upload.py b/blenderkit/upload.py index 096042905..0910a6661 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'] -- GitLab