Fixed a syntax error
This commit is contained in:
2
blazy.py
2
blazy.py
@@ -42,7 +42,7 @@ elif 'https://' in url:
|
|||||||
else:
|
else:
|
||||||
url = 'http://' + url
|
url = 'http://' + url
|
||||||
try:
|
try:
|
||||||
br.open(url, timeout=10.0)) #Opens the url
|
br.open(url, timeout=10.0) #Opens the url
|
||||||
except URLError as e:
|
except URLError as e:
|
||||||
url = 'https://' + url
|
url = 'https://' + url
|
||||||
br.open(url)
|
br.open(url)
|
||||||
|
|||||||
Reference in New Issue
Block a user