diff options
author | James Simmons <jim@simmons.olpc> | 2009-11-22 23:26:01 (GMT) |
---|---|---|
committer | James Simmons <jim@simmons.olpc> | 2009-11-22 23:26:01 (GMT) |
commit | dc6322ac8dcff743e026130cc79cf878c499bddf (patch) | |
tree | b3222285cc7e42c2bd2e0ca1052adadb8acf497e /rtfconvert.py | |
parent | f9cd8557dadb1ce754cebccc3f2909ef03a162c2 (diff) |
modified: ReadEtextsActivity.py
modified: pgconvert.py
modified: rtfconvert.py
Add code to prevent a PG file from being conveted more than once.
Diffstat (limited to 'rtfconvert.py')
-rwxr-xr-x | rtfconvert.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rtfconvert.py b/rtfconvert.py index 2e875f0..a3930f0 100755 --- a/rtfconvert.py +++ b/rtfconvert.py @@ -36,6 +36,7 @@ def convert(file_path, output_path): rtf_file = open(file_path,"r") out = open(output_path, 'w') + out.write('\t\t\t\t\r\n') brace_count = 0 while rtf_file: |