Merge pull request #199 from arne1101/master

Limit filename length to 100 characters
This commit is contained in:
Sean Whalen authored and GitHub committed 2020-11-20 11:45:52 -05:00
commit 809d533ce0
1 file changed
+2
+2
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