Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed Nov 11, 2024
1 parent f83b067 commit 24b6a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamer/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def is_url(output_location: str) -> bool:
return urllib.parse.urlparse(output_location).scheme != ''

def is_http_url(output_location: str) -> bool:
"""Returns True if the output location is a URL."""
"""Returns True if the output location is an HTTP/HTTPS URL."""
scheme = urllib.parse.urlparse(output_location).scheme
return scheme in ['http', 'https']

0 comments on commit 24b6a00

Please sign in to comment.