Show
Ignore:
Timestamp:
12/01/06 17:10:39 (17 years ago)
Author:
jerome
Message:

Fixed a bug in ink accounting, thx to Netzwerkler.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r3064 r3101  
    344344                                    inkprice = coefprice * value 
    345345                                    self.parent.tool.logdebug("Applying coefficient %f for color %s (used at %f%% on page %i) to base cost %f gives %f" % (coefvalue, ink, value, pageindex+1, pageprice, inkprice)) 
    346                                     totalprice += coefprice 
     346                                    totalprice += inkprice 
    347347        if self.User.OverCharge != 1.0 : # TODO : beware of rounding errors 
    348348            overcharged = totalprice * self.User.OverCharge