Skip to content

Commit

Permalink
nooob syntax mistake, time for bed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jwely committed Feb 9, 2016
1 parent 426e0f6 commit 7baf128
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion py/tex/TeXWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ def write(self, verbose=False, reset_content=False, include_labels=True):

with open(self.texfile_path, 'w+') as f:
for line in self.content:
if include_labels and r"\label" not in line:
if include_labels:
if r"\label" not in line:
if verbose:
print(line)
f.write(line + "\n")
else:
if verbose:
print(line)
f.write(line + "\n")
Expand Down

0 comments on commit 7baf128

Please sign in to comment.