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:
authorVilém Duha <vilda.novak@gmail.com>2020-12-28 11:43:06 +0300
committerVilém Duha <vilda.novak@gmail.com>2020-12-28 11:43:06 +0300
commitfbfb023ebd7bb61e1e962def7ee6ad3cf69c0123 (patch)
treef7abc834679051915706fcef3ff83c8648db4399 /blenderkit/upload_bg.py
parent317934f41738179fbd18acda57cc3ff85eb3ac27 (diff)
BlenderKit: switch to logging for the add-on
This should help with sane development and also avoid forgotten prints for users.
Diffstat (limited to 'blenderkit/upload_bg.py')
-rw-r--r--blenderkit/upload_bg.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/blenderkit/upload_bg.py b/blenderkit/upload_bg.py
index 74ae8906..4fc96ffb 100644
--- a/blenderkit/upload_bg.py
+++ b/blenderkit/upload_bg.py
@@ -39,14 +39,6 @@ import bpy
BLENDERKIT_EXPORT_DATA = sys.argv[-1]
-def start_logging():
- logging.basicConfig()
- logging.getLogger().setLevel(logging.DEBUG)
- requests_log = logging.getLogger("requests.packages.urllib3")
- requests_log.setLevel(logging.DEBUG)
- requests_log.propagate = True
-
-
def print_gap():
print('\n\n\n\n')