From c2d2cc68cf4160aaf6acfa63b6640d319cea9d3b Mon Sep 17 00:00:00 2001 From: Jerry Date: Sun, 14 Feb 2021 14:14:46 +0800 Subject: [PATCH] fix fstring without f --- src/pacroller/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pacroller/main.py b/src/pacroller/main.py index 08cce9b..9c15b48 100644 --- a/src/pacroller/main.py +++ b/src/pacroller/main.py @@ -56,7 +56,7 @@ def sync() -> None: logger.exception(f'sync failed with {e.returncode=} {e.output=}') raise except subprocess.TimeoutExpired as e: - logger.warning('database download timeout {e.timeout=} {e.output=}') + logger.warning(f'database download timeout {e.timeout=} {e.output=}') if Path(PACMAN_DB_LCK).exists(): logger.warning(f'automatically removing {PACMAN_DB_LCK}') Path(PACMAN_DB_LCK).unlink()