mirror of
https://github.com/iv-org/smart-ipv6-rotator.git
synced 2024-11-27 00:00:30 +00:00
fix variable assignment
This commit is contained in:
parent
9e88afdf62
commit
1d0101a286
@ -143,7 +143,7 @@ elif sys.argv[1] == "run":
|
||||
sleep(2)
|
||||
try:
|
||||
check_new_ipv6_address = requests.get(
|
||||
f"http://[{icanhazip_ipv6_address}]", headers={"host": "ipv6.icanhazip.com", timeout=5}
|
||||
f"http://[{icanhazip_ipv6_address}]", headers={"host": "ipv6.icanhazip.com"}, timeout=5}
|
||||
)
|
||||
response_new_ipv6_address = check_new_ipv6_address.text.strip()
|
||||
if response_new_ipv6_address == random_ipv6_address:
|
||||
|
Loading…
Reference in New Issue
Block a user