Changeset 3371
- Timestamp:
- 05/19/08 12:30:03 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/snmp.py
r3275 r3371 283 283 self.initValues() 284 284 else : 285 self.printerInternalPageCounter = max(self.printerInternalPageCounter, int(varBinds[0][1].prettyPrint() ))285 self.printerInternalPageCounter = max(self.printerInternalPageCounter, int(varBinds[0][1].prettyPrint() or "0")) 286 286 self.printerStatus = int(varBinds[1][1].prettyPrint()) 287 287 self.deviceStatus = int(varBinds[2][1].prettyPrint())