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>2021-01-18 14:25:17 +0300
committerVilém Duha <vilda.novak@gmail.com>2021-01-18 14:25:17 +0300
commit835216ecad59db3d626078221c1616803f165695 (patch)
tree7f399be4a7c28f349bbbd6a2bcd28b50e2a41d4c
parent73dd51d5f464d1dd0227ff92cb2d30c912c6dc3d (diff)
BlenderKit: Fix T84778
-rw-r--r--blenderkit/utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/blenderkit/utils.py b/blenderkit/utils.py
index fde5b002..e0ced9b1 100644
--- a/blenderkit/utils.py
+++ b/blenderkit/utils.py
@@ -285,7 +285,6 @@ def save_prefs(self, context):
fpath = paths.BLENDERKIT_SETTINGS_FILENAME
if not os.path.exists(paths._presets):
os.makedirs(paths._presets)
- f = open(fpath, 'w')
with open(fpath, 'w') as s:
json.dump(prefs, s)
except Exception as e: