mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-11-18 13:51:22 +00:00
Reduce number of characters in filename from 255 to 100
Reduce number of characters in filename from 255 to 100
This commit is contained in:
1 parent
06e42791c4
commit
87092cf4ca
1 file changed
+1
-1
+1
-1
@@ -395,7 +395,7 @@ def get_filename_safe_string(string):
|
||||
string = string.replace(char, "")
|
||||
string = string.rstrip(".")
|
||||
|
||||
string = (string[:255]) if len(string) > 255 else string
|
||||
string = (string[:100]) if len(string) > 100 else string
|
||||
|
||||
return string
|
||||
|
||||
|
||||
Reference in new issue
Block a user