Skip to content

Commit

Permalink
Fixed a second logic inversion in the stripped line stripper.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonabbey committed Dec 14, 2010
1 parent f4e627d commit 3bc17f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Eudora2Mbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def extract_pieces( msg_lines, msg_offset, mbx, inner_mesg=False ):
line = re.sub(re_xhtml, '', line)
line = re.sub(re_pete_stuff, '', line)

if orig_line != line and line != '':
if orig_line == line or line != '':
body.append(strip_linesep(line) + "\n")

return ( headers, body, attachments, embeddeds, mbx, is_html )
Expand Down

0 comments on commit 3bc17f2

Please sign in to comment.