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>2019-07-14 20:55:01 +0300
committerVilém Duha <vilda.novak@gmail.com>2019-07-14 21:53:09 +0300
commit8b6a5c9b83f65350b69eb6389bf905737204811a (patch)
tree35fcb6501cfe485f6a2fd9094d2fc0fa9246d5fb
parent48c70b708377311d25d81cfbfcaa5e27141eb088 (diff)
BlenderKit: fix wrong location of avatar pics storage.
-rw-r--r--blenderkit/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/search.py b/blenderkit/search.py
index 6c1cc955..7d388430 100644
--- a/blenderkit/search.py
+++ b/blenderkit/search.py
@@ -588,7 +588,7 @@ def fetch_author(a_id, api_key):
# utils.p(adata)
tasks_queue.add_task((write_author, (a_id, adata)))
if adata.get('gravatarHash') is not None:
- gravatar_path = paths.get_temp_dir(subdir=None) + adata['gravatarHash'] + '.jpg'
+ gravatar_path = paths.get_temp_dir(subdir='g/') + adata['gravatarHash'] + '.jpg'
url = "https://www.gravatar.com/avatar/" + adata['gravatarHash'] + '?d=404'
r = requests.get(url, stream=False)
if r.status_code == 200: