Commit 1c741b67 authored by Haoyu Z's avatar Haoyu Z
Browse files

debug

parent e4a7a0af
......@@ -33,7 +33,7 @@ def tablesInQuery(query):
#subquery
output.extend(tablesInQuery(cur[cur.index("(")+1 : cur.index(")")]))
else:
output.append(cur.split("as")[0])
output.append(cur.split("as")[0].strip())
continue
if state == "second table":
......@@ -41,7 +41,7 @@ def tablesInQuery(query):
#subquery
output.extend(tablesInQuery(cur[cur.index("(")+1 : cur.index(")")]))
else:
output.append(cur.split("as")[0])
output.append(cur.split("as")[0].strip())
break
return output
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment