This commit is contained in:
qvalentin 2023-12-09 16:37:56 +01:00
parent 170d67d5fa
commit 01eef8e7aa
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from fritzconnection.core.exceptions import FritzServiceError
from fritzconnection.core.fritzconnection import os
def turn_of_wlan(fc):
def turn_off_wlan(fc):
result = []
action = "SetEnable"
for n in count(1):
@ -20,7 +20,7 @@ def turn_of_wlan(fc):
def main(address, password):
fc = FritzConnection(address=address, password=password)
for result in turn_of_wlan(fc):
for result in turn_off_wlan(fc):
print(f"{result}")