mirror of https://github.com/stijndcl/didier
parent
90dec2f5e4
commit
2ce32ee8a3
|
@ -37,13 +37,13 @@ def freeGamesCheck(ctx):
|
|||
link = word.strip()
|
||||
break
|
||||
|
||||
if link == "":
|
||||
return False
|
||||
request = requests.head(link)
|
||||
if request.status_code != 200:
|
||||
return False
|
||||
#if link == "":
|
||||
# return False
|
||||
#request = requests.head(link)
|
||||
#if request.status_code != 200:
|
||||
# return False
|
||||
|
||||
return True
|
||||
return len(link) > 0
|
||||
|
||||
|
||||
# Checks if a user can invest/gamble/... [amount]
|
||||
|
|
Loading…
Reference in New Issue