fix #2118
This commit is contained in:
parent
8c3a7f7842
commit
54dcca0787
|
@ -66,6 +66,7 @@ PR_PAID = 3 # send and propagated
|
|||
|
||||
def get_payment_request(url):
|
||||
u = urlparse.urlparse(url)
|
||||
error = None
|
||||
if u.scheme in ['http', 'https']:
|
||||
try:
|
||||
response = requests.request('GET', url, headers=REQUEST_HEADERS)
|
||||
|
|
Loading…
Reference in New Issue