From 60fc6e7db12bc93c821204a0eafb184c5a811869 Mon Sep 17 00:00:00 2001 From: Christian Stade-Schuldt Date: Tue, 17 May 2016 01:30:57 +0200 Subject: [PATCH] use custom ip address --- fritzbox_traffic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fritzbox_traffic.py b/fritzbox_traffic.py index 1c9d467..2442798 100755 --- a/fritzbox_traffic.py +++ b/fritzbox_traffic.py @@ -21,7 +21,7 @@ from fritzconnection import FritzConnection def print_values(): try: - conn = FritzConnection() + conn = FritzConnection(address=os.environ['fritzbox_ip']) except Exception as e: sys.exit("Couldn't get WAN traffic")