fix fstring without f

This commit is contained in:
JerryXiao 2021-02-14 14:14:46 +08:00
parent d49fba9196
commit c2d2cc68cf
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

View file

@ -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()