Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
curl fix oops
Browse files Browse the repository at this point in the history
  • Loading branch information
adonm committed May 31, 2022
1 parent 9caa163 commit deccd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def loadkql(query):
if query.startswith("kql/"):
query = open(query).read().encode("utf-8").strip()
elif query.startswith("https:"):
query = check_output(["curl", "-L", query]).encode("utf-8").strip()
query = check_output(["curl", "-L", query]).decode("utf-8").strip()
return query


Expand Down

0 comments on commit deccd63

Please sign in to comment.