From 01eef8e7aa6530b3dee2d231e1af508a48d4a5f0 Mon Sep 17 00:00:00 2001 From: qvalentin Date: Sat, 9 Dec 2023 16:37:56 +0100 Subject: [PATCH] Fix typo --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 351afef..c5d8e2d 100644 --- a/main.py +++ b/main.py @@ -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}")