Changeset 540 for pkpgcounter

Show
Ignore:
Timestamp:
12/09/07 10:41:55 (14 years ago)
Author:
jerome
Message:

Improved the adjusting of page count in some corner cases.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/pcl345.py

    r538 r540  
    495495        self.pagecount = self.pagecount or nbmediasourcesdefault 
    496496         
     497        if not self.pagecount : 
     498            if self.resets == len(self.startgfx) : 
     499                self.pagecount = self.resets  
    497500         
    498501        defaultpjlcopies = 1