Skip to content

Commit

Permalink
Merge pull request #192 from fj7/master
Browse files Browse the repository at this point in the history
Update parser.py
  • Loading branch information
martinrusev committed Sep 17, 2020
2 parents 5aabe0d + 98ae4fa commit 994de58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imbox/parser.py
Expand Up @@ -112,7 +112,7 @@ def parse_attachment(message_part):
name, value = decode_param(param)

# Check for split filename
s_name = name.split("*")
s_name = name.rstrip('*').split("*")
if s_name[0] == 'filename':
# If this is a split file name - use the number after the * as an index to insert this part
if len(s_name) > 1:
Expand Down

0 comments on commit 994de58

Please sign in to comment.