Skip to content

Commit 333b1a7

Browse files
authored
removed parenthesis
1 parent cf32f6c commit 333b1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validatedfile/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def clean(self, *args, **kwargs):
2222
uploaded_content_type = getattr(file, 'content_type', '')
2323

2424
magic_file_path = getattr(settings, "MAGIC_FILE_PATH", None)
25-
if (magic_file_path):
25+
if magic_file_path:
2626
mg = magic.Magic(mime=True, magic_file=magic_file_path)
2727
else:
2828
mg = magic.Magic(mime=True)

0 commit comments

Comments
 (0)