This commit is contained in:
ThomasV 2017-01-16 10:18:00 +01:00
parent 8c3a7f7842
commit 54dcca0787
1 changed files with 1 additions and 0 deletions

View File

@ -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)