diff options
author | James Simmons <jim@simmons.olpc> | 2009-09-06 01:55:07 (GMT) |
---|---|---|
committer | James Simmons <jim@simmons.olpc> | 2009-09-06 01:55:07 (GMT) |
commit | 95a1ab0f394bb41b3e3aa9eeb9b4dd02ce78ba0d (patch) | |
tree | a3338ebb98d4fbe6368a445491cdaf2ae1e6d3ee | |
parent | 4a1569f7cd594e2f490c0c047990fae355196153 (diff) |
modified: rtfconvert.py
-rwxr-xr-x | rtfconvert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtfconvert.py b/rtfconvert.py index 249dfcb..8b61cb1 100755 --- a/rtfconvert.py +++ b/rtfconvert.py @@ -45,7 +45,7 @@ def convert(file_path): brace_count = brace_count + count_braces(line) line = strip_tags(line) if brace_count == 1 and line.find('{') < 0 and line.find('}') < 0: - out.write(line.lstrip(' \t')) + out.write(line.lstrip(' ')) rtf_file.close() out.close() print "All done!" |