Skip to content

Commit

Permalink
Merge pull request #211 from tveronesi/patch-1
Browse files Browse the repository at this point in the history
Local variable 'filename' value is not used
  • Loading branch information
martinrusev authored Dec 6, 2021
2 parents 486f982 + 52d83f5 commit c24b14a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion imbox/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def parse_attachment(message_part):
'content': io.BytesIO(file_data),
'content-id': message_part.get("Content-ID", None)
}
filename = message_part.get_param('name')
filename_parts = []
for param in dispositions[1:]:
if param:
Expand Down

0 comments on commit c24b14a

Please sign in to comment.