Fix 66696c5
so folder paths work properly
This commit is contained in:
parent
63151c3075
commit
d9b6c66c33
|
@ -155,7 +155,6 @@ def makeValidFolderPath(input_str):
|
||||||
valid_chars = "-_.()/ %s%s" % (string.ascii_letters, string.digits)
|
valid_chars = "-_.()/ %s%s" % (string.ascii_letters, string.digits)
|
||||||
input_str = input_str.replace("+"," ") # Canvas default for spaces
|
input_str = input_str.replace("+"," ") # Canvas default for spaces
|
||||||
input_str = input_str.replace(":","-")
|
input_str = input_str.replace(":","-")
|
||||||
input_str = input_str.replace("/","-")
|
|
||||||
input_str = "".join(c for c in input_str if c in valid_chars)
|
input_str = "".join(c for c in input_str if c in valid_chars)
|
||||||
|
|
||||||
# Remove leading and trailing whitespace, separators
|
# Remove leading and trailing whitespace, separators
|
||||||
|
|
Loading…
Reference in New Issue