Skip to content

Commit 52d83f5

Browse files
authored
Local variable 'filename' value is not used
1 parent 486f982 commit 52d83f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

imbox/parser.py

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ def parse_attachment(message_part):
112112
'content': io.BytesIO(file_data),
113113
'content-id': message_part.get("Content-ID", None)
114114
}
115-
filename = message_part.get_param('name')
116115
filename_parts = []
117116
for param in dispositions[1:]:
118117
if param:

0 commit comments

Comments
 (0)