Changeset 248 for pkpgcounter/trunk/pkpgpdls/pclxl.py
- Timestamp:
- 08/20/05 17:56:22 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pclxl.py
r246 r248 495 495 # but the formula below is still correct : we want 496 496 # to decrease the total number of pages in this case. 497 page = self.pages.get(pnum, 1)497 page = self.pages.get(pnum, self.pages.get(1, { "copies" : 1 })) 498 498 copies = page["copies"] 499 499 self.pagecount += (copies - 1)