Merge pull request #199 from arne1101/master

Limit filename length to 100 characters
This commit is contained in:
Sean Whalen
2020-11-20 11:45:52 -05:00
committed by GitHub

View File

@@ -395,6 +395,8 @@ def get_filename_safe_string(string):
string = string.replace(char, "")
string = string.rstrip(".")
string = (string[:100]) if len(string) > 100 else string
return string