Show
Ignore:
Timestamp:
08/02/10 04:18:37 (14 years ago)
Author:
jerome
Message:

Fixes #65.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/snmp.py

    r3530 r3546  
    193193                        if (pstatusAsString == 'idle') or \ 
    194194                            ((pstatusAsString == 'other') and \ 
    195                              (dstatusAsString == 'running')) : 
     195                             (dstatusAsString in ('running', 'warning'))) : 
    196196                            if self.printerInternalPageCounter == previousValue : 
    197197                                # Here the job won't be printed, because probably 
     
    224224            if (not error) and ((pstatusAsString == 'idle') or \ 
    225225                                    ((pstatusAsString == 'other') and \ 
    226                                          (dstatusAsString == 'running'))) : 
     226                                         (dstatusAsString in ('running', 'warning')))) : 
    227227                idle_flag = True # Standby / Powersave is considered idle 
    228228                increment = 1 # Reset initial stabilization delay