Reverted logging style

This commit is contained in:
Joel Collins 2020-11-12 15:45:58 +00:00
parent e25c23cf1c
commit 6fb61e1e3f
24 changed files with 100 additions and 106 deletions

View file

@ -27,7 +27,7 @@ def main():
logging.info("Loading user settings...")
settings = user_settings.load()
cap_path = str(settings.get("captures", {}).get("paths", {}).get("default"))
logging.info("Capture path found: {}", cap_path)
logging.info("Capture path found: %s", cap_path)
if not cap_path:
logging.error(

View file

@ -24,7 +24,7 @@ def launch_timeout_test_process(target, args=(), kwargs=None, timeout=10):
# If thread is still active
if p.is_alive():
logging.error(
"Function {} reached timeout after {} seconds. Terminating.",
"Function %s reached timeout after %s seconds. Terminating.",
target,
timeout,
)