Skip to content

Commit 29f348c

Browse files
author
Sebastian Humenda
committed
gleetex/convenience: make code slightly less readable and be compatible with python3.4
1 parent 376a72f commit 29f348c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gleetex/convenience.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _convert_concurrently(self, formulas_to_convert):
140140
pos_in_src = list(p+1 for p in pos_in_src) # user expects lines/pos_in_src' to count from 1
141141
self.__cache.write() # write back cache with valid entries
142142
error_occurred = ConversionException(str(e.args[0]), formula,
143-
*pos_in_src, formula_count)
143+
pos_in_src[0], pos_in_src[1], formula_count)
144144
else:
145145
self.__cache.add_formula(formula, data['pos'], data['path'],
146146
data['displaymath'])

0 commit comments

Comments
 (0)