From 4b50f8b9666a9d44b71350a1a88abb46c12ceba6 Mon Sep 17 00:00:00 2001 From: TeoCalvo Date: Wed, 17 Jul 2024 12:27:49 +0000 Subject: [PATCH] Fix: extract_from --- src/lib/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/utils.py b/src/lib/utils.py index 686bffa..4f41901 100644 --- a/src/lib/utils.py +++ b/src/lib/utils.py @@ -25,6 +25,7 @@ def extract_from(query:str): .split("from")[-1] .strip(" ") .split(" ")[0] + .split("\n")[0] .strip(" ")) return tablename