Show
Ignore:
Timestamp:
08/31/07 09:27:44 (17 years ago)
Author:
jerome
Message:

Now the pykotme command line tool computes size and price based on the preaccounter
define for each printer instead of always using the internal page counter.
IMPORTANT : pykotme.cgi still uses the old behavior.

Files:
1 modified

Legend:

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

    r3162 r3245  
    3131 
    3232class Accounter(AccounterBase) : 
    33     def __init__(self, kotabackend, arguments, ispreaccounter=0) : 
     33    def __init__(self, kotabackend, arguments, ispreaccounter=0, name="hardware") : 
    3434        """Initializes querying accounter.""" 
    35         AccounterBase.__init__(self, kotabackend, arguments) 
     35        AccounterBase.__init__(self, kotabackend, arguments, ispreaccounter, name) 
    3636        self.isSoftware = 0 
    3737