1
0
mirror of https://github.com/Tafkas/fritzbox-munin.git synced 2023-10-10 13:36:55 +02:00

use custom ip address

This commit is contained in:
Christian Stade-Schuldt 2016-05-17 01:30:57 +02:00
parent d162f8bf83
commit 60fc6e7db1

View File

@ -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")