Changeset 3122 for pykota/trunk/pykota/accounters
- Timestamp:
- 12/10/06 19:23:44 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/ink.py
r3046 r3122 33 33 "RGB" : { "R" : "red", "G" : "green", "B" : "blue" } , 34 34 "BW" : { "B" : "black", "W" : "white" } , 35 "GC" : { "G" : "grayscale", "C" : "colored" } , 35 36 } 36 37 def computeJobSize(self) : … … 50 51 (colorspace, resolution) = parameters 51 52 colorspace = colorspace.lower() 52 if colorspace not in ("cmyk", "bw", "cmy", "rgb" ) :53 if colorspace not in ("cmyk", "bw", "cmy", "rgb", "gc") : 53 54 raise PyKotaAccounterError, "Invalid parameters for ink accounter : [%s]" % self.arguments 54 55