Skip to content

Commit 36d5f4b

Browse files
LyzardKingtobiasdiez
authored andcommitted
Fix typo logger to logging in python host script (#5588)
1 parent 5d07226 commit 36d5f4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildres/linux/jabrefHost.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import shutil
1414
from pathlib import Path
1515

16-
# We assume that this python script is located in 'jabref/lib' while the executable is 'jabref/bin/JabRef'
16+
# We assume that this python script is located in "jabref/lib" while the executable is "jabref/bin/JabRef"
1717
script_dir = Path(__file__).resolve().parent.parent
1818
JABREF_PATH = script_dir / "bin/JabRef"
1919
if not JABREF_PATH.exists():
@@ -59,7 +59,7 @@ def send_message(message):
5959

6060
def add_jabref_entry(data):
6161
cmd = f'{str(JABREF_PATH)} --importBibtex """{data}"""'
62-
logger.error(f"Try to execute command {cmd}")
62+
logging.info(f"Try to execute command {cmd}")
6363
try:
6464
response = subprocess.check_output(shlex.split(cmd), stderr=subprocess.STDOUT)
6565
except subprocess.CalledProcessError as exc:

0 commit comments

Comments
 (0)