From d22440444c055dc5b921d453d82df5e38700aa1e Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 3 Jun 2023 15:58:47 +0800 Subject: Remove useless logs --- texgen.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'texgen.py') 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) -- cgit v1.2.3