Removing debug from python.
This commit is contained in:
parent
d53f50193a
commit
67799e9908
2 changed files with 1 additions and 2 deletions
|
@ -181,7 +181,7 @@ class Latex(QObject):
|
||||||
"""
|
"""
|
||||||
markup_hash, render_hash, export_path = self.create_export_path(latex_markup, font_size, color)
|
markup_hash, render_hash, export_path = self.create_export_path(latex_markup, font_size, color)
|
||||||
if self.latexSupported and not path.exists(export_path + ".png"):
|
if self.latexSupported and not path.exists(export_path + ".png"):
|
||||||
print("Rendering", latex_markup, export_path)
|
print("Rendering", latex_markup)
|
||||||
# Generating file
|
# Generating file
|
||||||
latex_path = path.join(self.tempdir, str(markup_hash))
|
latex_path = path.join(self.tempdir, str(markup_hash))
|
||||||
# If the formula is just recolored or the font is just changed, no need to recreate the DVI.
|
# If the formula is just recolored or the font is just changed, no need to recreate the DVI.
|
||||||
|
|
|
@ -153,7 +153,6 @@ class PyPromise(QObject):
|
||||||
def _fulfill(self, data):
|
def _fulfill(self, data):
|
||||||
self._state = "fulfilled"
|
self._state = "fulfilled"
|
||||||
no_return = [None, QJSValue.SpecialValue.UndefinedValue]
|
no_return = [None, QJSValue.SpecialValue.UndefinedValue]
|
||||||
print("Fulfill")
|
|
||||||
for i in range(len(self._fulfills)):
|
for i in range(len(self._fulfills)):
|
||||||
try:
|
try:
|
||||||
result = self._fulfills[i](data)
|
result = self._fulfills[i](data)
|
||||||
|
|
Loading…
Reference in a new issue