Skip to content

Commit

Permalink
pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Anupam authored and Anupam committed Jun 24, 2023
1 parent 3f30559 commit 19d1c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def parse(cell, config):
}

select_pointer = cell.lower().find("select")
if select_pointer != -1:
if select_pointer != -1 and select_pointer != 0:
if cell[select_pointer - 1] != " " and cell[select_pointer - 1] != "\n":
cell = cell[:select_pointer] + " " + cell[select_pointer:]
else:
Expand Down

0 comments on commit 19d1c13

Please sign in to comment.