Skip to content

Commit

Permalink
Merge pull request #232 from oberix/master
Browse files Browse the repository at this point in the history
fix append and join of param parts
  • Loading branch information
martinrusev committed Nov 17, 2022
2 parents d78ba65 + c41d6da commit 8512aca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imbox/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ def decode_param(param):

value = str_encode(value, encoding)

value_results.append(value)
value_results.append(value)

if value_results:
v = ''.join(value_results)
if value_results:
v = ''.join(value_results)

logger.debug("Decoded parameter {} - {}".format(name, v))
return name, v
Expand Down

0 comments on commit 8512aca

Please sign in to comment.