Skip to content

Commit 7094830

Browse files
authored
Update filer/utils/files.py
1 parent be47ca9 commit 7094830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filer/utils/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _ensure_safe_length(filename, max_length=155, random_suffix_length=16):
128128
Ensures that the filename does not exceed the maximum allowed length.
129129
If it does, the function truncates the filename and appends a random hexadecimal
130130
suffix of length `random_suffix_length` to ensure uniqueness and compliance with
131-
database constraints.
131+
database constraints - even after markers for a thumbnail are added.
132132
133133
Parameters:
134134
filename (str): The filename to check.

0 commit comments

Comments
 (0)