From 81e26fab27c24b7d8d84cd9fd002629d6ba5fc86 Mon Sep 17 00:00:00 2001 From: Galileo Sartor Date: Sun, 10 Nov 2019 14:20:19 +0100 Subject: [PATCH] Fix typo logger to logging in python host script --- buildres/linux/jabrefHost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildres/linux/jabrefHost.py b/buildres/linux/jabrefHost.py index 6944b92f49e..d86cadb1d4b 100755 --- a/buildres/linux/jabrefHost.py +++ b/buildres/linux/jabrefHost.py @@ -13,7 +13,7 @@ import shutil from pathlib import Path -# We assume that this python script is located in 'jabref/lib' while the executable is 'jabref/bin/JabRef' +# We assume that this python script is located in "jabref/lib" while the executable is "jabref/bin/JabRef" script_dir = Path(__file__).resolve().parent.parent JABREF_PATH = script_dir / "bin/JabRef" if not JABREF_PATH.exists(): @@ -59,7 +59,7 @@ def send_message(message): def add_jabref_entry(data): cmd = f'{str(JABREF_PATH)} --importBibtex """{data}"""' - logger.error(f"Try to execute command {cmd}") + logging.info(f"Try to execute command {cmd}") try: response = subprocess.check_output(shlex.split(cmd), stderr=subprocess.STDOUT) except subprocess.CalledProcessError as exc: