Changeset 977

Show
Ignore:
Timestamp:
04/30/03 15:40:47 (22 years ago)
Author:
jalet
Message:

Small fix

Files:
1 modified

Legend:

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

    r976 r977  
    2121# 
    2222# $Log$ 
     23# Revision 1.2  2003/04/30 13:40:47  jalet 
     24# Small fix 
     25# 
    2326# Revision 1.1  2003/04/30 13:36:40  jalet 
    2427# Stupid accounting method was added. 
     
    5255            # Last lifetime page counter before actual job is  
    5356            # last page counter + last job size 
    54             counterbeforejob = pgc["pagecounter"] + pgc["jobsize"] 
     57            counterbeforejob = (pgc["pagecounter"] or 0) + (pgc["jobsize"] or 0) 
    5558             
    5659        # Is the current user allowed to print at all ?