Skip to content

Commit

Permalink
fix: strip whitespace from elements of list (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak authored Nov 25, 2024
1 parent bd71a48 commit 95efb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/sheets/querySpreadsheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def main():
raise ValueError("query parameter must be set")
show_columns = os.getenv('SHOW_COLUMNS')
if show_columns is not None:
show_columns = show_columns.split(',')
show_columns = [item.strip() for item in show_columns.split(',')]
sheet_name = os.getenv('SHEET_NAME')

service = gspread_client()
Expand Down

0 comments on commit 95efb03

Please sign in to comment.