xcv
This commit is contained in:
parent
8dcefdfbf1
commit
bfec94eb08
1 changed files with 1 additions and 2 deletions
|
@ -453,7 +453,6 @@ def reported_comments(v):
|
|||
def admin_home(v):
|
||||
with open('disable_signups', 'r') as f: x = f.read()
|
||||
|
||||
print(requests.get(f'https://api.cloudflare.com/client/v4/zones/{CF_ZONE}/settings/security_level', headers=CF_HEADERS).json())
|
||||
response = requests.get(f'https://api.cloudflare.com/client/v4/zones/{CF_ZONE}/settings/security_level', headers=CF_HEADERS).json()['result']['value']
|
||||
x2 = response == 'under_attack'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue