Skip to content

Commit

Permalink
Fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeeren authored Feb 26, 2017
1 parent fed7b32 commit d373906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/latexdiffcite/latexdiffcite.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,9 @@ def write_tex_to_temp(oldnew):
'''Writes processed file contents to temp files'''

log.debug('writing to file %s', getattr(Files, 'tex_' + oldnew + '_tmp_path'))
getattr(Files, 'tex_' + oldnew + '_tmp_hndl').write(getattr(FileContents, 'tex_' + oldnew).encode('utf-8'))
fh = getattr(Files, 'tex_' + oldnew + '_tmp_hndl')
fh.write(getattr(FileContents, 'tex_' + oldnew).encode('utf-8'))
fh.flush()


def run_latexdiff(file1, file2):
Expand Down

0 comments on commit d373906

Please sign in to comment.