Changeset 290 for pkpgcounter
- Timestamp:
- 11/23/05 22:33:47 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r283 r290 136 136 if number > self.pages[pagecount]["copies"] : 137 137 self.pages[pagecount]["copies"] = number 138 elif line.startswith("/#copies ") : 139 try : 140 number = int(line.strip().split()[1]) 141 except : 142 pass 143 else : 144 if number > self.pages[pagecount]["copies"] : 145 self.pages[pagecount]["copies"] = number 138 146 previousline = line 139 147