diff --git a/main.py b/main.py index dd15303..d1fff3d 100644 --- a/main.py +++ b/main.py @@ -132,7 +132,7 @@ if __name__ == '__main__': config = SnmpConfiguration( SnmpEngine(), CommunityData(args.snmp_community), - UdpTransportTarget((args.ilo_address[0], args.snmp_port)), + UdpTransportTarget((args.ilo_address, args.snmp_port)), ContextData(), )