Update snmp.py

Change for SNMPv3 to work correctly