Skip to content

Commit

Permalink
fixed json handling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyaven committed Nov 19, 2024
1 parent a761ca4 commit 9e7332f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystackql/stackql.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def _run_query(self, query, custom_auth=None, env_vars=None):
# local_params.insert(1, shlex.quote(query))
script_path = None

if sys.platform == "Windows":
if sys.os.platform == "Windows":
# Escape double quotes and wrap in double quotes for Windows
escaped_query = query.replace('"', '\\"') # Escape double quotes properly
safe_query = f'"{escaped_query}"'
Expand Down

0 comments on commit 9e7332f

Please sign in to comment.