Skip to content

Commit

Permalink
fixed a bug when the header is multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
dazoot committed Nov 27, 2013
1 parent 8b73fe1 commit b9d3c0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mailtojson.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def _parse_recipients(self, v):
if v is None:
return None

v = v.replace("\n", " ").replace("\r", " ")
s = StringIO.StringIO(v)
c = csv.reader(s)
row = c.next()
Expand Down

0 comments on commit b9d3c0a

Please sign in to comment.