Skip to content

Commit

Permalink
Fix urls for https
Browse files Browse the repository at this point in the history
  • Loading branch information
vmordan committed Nov 17, 2023
1 parent 1adc28d commit fc56fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __check_host(self, host):

if not isinstance(host, str) or len(host) == 0:
raise ValueError('Server host must be set')
if not host.startswith('http://'):
if not host.startswith('http://') and not host.startswith('https://'):
host = 'http://' + host
if host.endswith('/'):
host = host[:-1]
Expand Down

0 comments on commit fc56fb0

Please sign in to comment.