Fix typo
This commit is contained in:
parent
170d67d5fa
commit
01eef8e7aa
4
main.py
4
main.py
|
@ -5,7 +5,7 @@ from fritzconnection.core.exceptions import FritzServiceError
|
||||||
from fritzconnection.core.fritzconnection import os
|
from fritzconnection.core.fritzconnection import os
|
||||||
|
|
||||||
|
|
||||||
def turn_of_wlan(fc):
|
def turn_off_wlan(fc):
|
||||||
result = []
|
result = []
|
||||||
action = "SetEnable"
|
action = "SetEnable"
|
||||||
for n in count(1):
|
for n in count(1):
|
||||||
|
@ -20,7 +20,7 @@ def turn_of_wlan(fc):
|
||||||
|
|
||||||
def main(address, password):
|
def main(address, password):
|
||||||
fc = FritzConnection(address=address, password=password)
|
fc = FritzConnection(address=address, password=password)
|
||||||
for result in turn_of_wlan(fc):
|
for result in turn_off_wlan(fc):
|
||||||
print(f"{result}")
|
print(f"{result}")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue