Skip to content

Commit

Permalink
gleetex/convenience: make code slightly less readable and be compatib…
Browse files Browse the repository at this point in the history
…le with python3.4
  • Loading branch information
Sebastian Humenda committed Aug 30, 2016
1 parent 376a72f commit 29f348c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gleetex/convenience.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def _convert_concurrently(self, formulas_to_convert):
pos_in_src = list(p+1 for p in pos_in_src) # user expects lines/pos_in_src' to count from 1
self.__cache.write() # write back cache with valid entries
error_occurred = ConversionException(str(e.args[0]), formula,
*pos_in_src, formula_count)
pos_in_src[0], pos_in_src[1], formula_count)
else:
self.__cache.add_formula(formula, data['pos'], data['path'],
data['displaymath'])
Expand Down

0 comments on commit 29f348c

Please sign in to comment.