diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2020-12-30 21:25:56 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2020-12-30 21:25:56 +0300 |
commit | ac2ae65989f10a03f7a1009ddccddef07e8a9bac (patch) | |
tree | c5635a93159317b38b47961931500de7fdde3cef /blenderkit/ratings.py | |
parent | 4ad2e16b22b6cf93c26a1ee8f3fad336983d2385 (diff) |
BlenderKit: make HDR and Scene assets not experimental
correct links to tutorials for these 2 assets
free only becomes free first
A lot of logging calls instead of utils.p()
Diffstat (limited to 'blenderkit/ratings.py')
-rw-r--r-- | blenderkit/ratings.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/blenderkit/ratings.py b/blenderkit/ratings.py index 57c38087..3705f820 100644 --- a/blenderkit/ratings.py +++ b/blenderkit/ratings.py @@ -28,6 +28,8 @@ else: import bpy import requests, threading +import logging +bk_logger = logging.getLogger('blenderkit') from bpy.props import ( IntProperty, @@ -57,7 +59,7 @@ def pretty_print_POST(req): def upload_rating_thread(url, ratings, headers): ''' Upload rating thread function / disconnected from blender data.''' - utils.p('upload rating', url, ratings) + bk_logger.debug('upload rating', url, ratings) for rating_name, score in ratings: if (score != -1 and score != 0): rating_url = url + rating_name + '/' |