summaryrefslogtreecommitdiff
path: root/texgen.py
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-06-03 15:58:47 +0800
committerKeuin <[email protected]>2023-06-03 15:58:47 +0800
commitd22440444c055dc5b921d453d82df5e38700aa1e (patch)
tree80902a9f80da563e9a7791200028e4c7d604798f /texgen.py
parentd845692816079cf78ded919bc1175647576d8529 (diff)
Remove useless logs
Diffstat (limited to 'texgen.py')
-rw-r--r--texgen.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/texgen.py b/texgen.py
index eda0e0b..3a2964d 100644
--- a/texgen.py
+++ b/texgen.py
@@ -59,9 +59,6 @@ class TexGenerator:
await asyncio.wait_for(proc.wait(), timeout=10)
except TimeoutError:
raise TexGenerationError('xelatex timed out')
- stdout, stderr = [(await x.read()).decode() for x in (proc.stdout, proc.stderr)]
- print('STDOUT', stdout)
- print('STDERR', stderr)
if proc.returncode != 0:
raise TexGenerationError(f'xelatex process exited with non-zero code {proc.returncode}')
os.rename(os.path.join(workdir, f'{job_name}.pdf'), cache_file_path)