Changeset 3252 for pykota/trunk/pykota/accounters/software.py
- Timestamp:
- 11/03/07 11:09:17 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/software.py
r3245 r3252 67 67 else : 68 68 try : 69 if self.filter. InputFile is not None :69 if self.filter.Ticket.FileName is not None : 70 70 # when a filename is passed as an argument, the backend 71 71 # must generate the correct number of copies. 72 jobsize *= self.filter. Copies72 jobsize *= self.filter.Ticket.Copies 73 73 except AttributeError : # When not run from the cupspykota backend 74 74 pass … … 128 128 129 129 pagecounter = pagecounter or 0 130 if self.filter. InputFile is not None :130 if self.filter.Ticket.FileName is not None : 131 131 # when a filename is passed as an argument, the backend 132 132 # must generate the correct number of copies. 133 pagecounter *= self.filter. Copies133 pagecounter *= self.filter.Ticket.Copies 134 134 135 135 return pagecounter