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:
-rw-r--r--blenderkit/paths.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/blenderkit/paths.py b/blenderkit/paths.py
index 552ccbbd..c2d2ab06 100644
--- a/blenderkit/paths.py
+++ b/blenderkit/paths.py
@@ -137,10 +137,10 @@ def slugify(slug):
Normalizes string, converts to lowercase, removes non-alpha characters,
and converts spaces to hyphens.
"""
-
import unicodedata, re
slug = slug.lower()
- slug.replace('.', '_')
+ slug = slug.replace('.', '_')
+ slug = slug.replace('"', '')
slug = slug.replace(' ', '_')
# import re
# slug = unicodedata.normalize('NFKD', slug)