From b029e063f96c6101b12fec2f1b0f9976fc550752 Mon Sep 17 00:00:00 2001 From: Hannah Bast Date: Sun, 8 Dec 2024 04:13:10 +0100 Subject: [PATCH] Fix two errors --- src/qlever/commands/example_queries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qlever/commands/example_queries.py b/src/qlever/commands/example_queries.py index 2df916c1..dff44ba0 100644 --- a/src/qlever/commands/example_queries.py +++ b/src/qlever/commands/example_queries.py @@ -231,9 +231,9 @@ def execute(self, args) -> bool: args.complete = False clear_cache_successful = False with mute_log(): - clear_cache_successful = ClearCacheCommand().execute(args): + clear_cache_successful = ClearCacheCommand().execute(args) if not clear_cache_successful: - log.warn(f"Failed to clear the cache: {e}") + log.warn("Failed to clear the cache") # Remove OFFSET and LIMIT (after the last closing bracket). if args.remove_offset_and_limit or args.limit: