Skip to content

Commit c45bd51

Browse files
committed
small bugfix
1 parent 0b43af7 commit c45bd51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
def gen_data(file):
122122
# replace every caracter witch is not a-z, A-Z, 0-9, _, - with _
123-
name = file.split("/")[-1]
123+
name = file.replace("/", "_")
124124
normalized_name = "_"
125125
for c in name:
126126
if not (c.isalpha() or c.isdigit() or c == "_"):

0 commit comments

Comments
 (0)