diff --git a/lib/core/agent.py b/lib/core/agent.py index 0246a1ab9..19f4afe46 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -50,7 +50,7 @@ class Agent: elif query.startswith(" UNION ALL "): query = query.replace(" UNION ALL ", "", 1) elif query.startswith("; "): - query = query.replace("; ", "") + query = query.replace("; ", "", 1) return query