Changeset 3574 for pkpgcounter/trunk
- Timestamp:
- 07/17/13 22:43:49 (11 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pcl345.py
r3573 r3574 481 481 self.logdebug("NbMediaSizes : \t\t\t%i" % nbmediasizes) 482 482 self.logdebug("MediaSources : \t\t\t%s" % self.mediasourcesvalues) 483 nbmediasourcesdefault = len([m for m in self.mediasourcesvalues if m == 'Default'])483 nbmediasourcesdefault = len([m for m in self.mediasourcesvalues if m in ('Default', 'Auto')]) 484 484 nbmediasourcesnotdefault = len(self.mediasourcesvalues) - nbmediasourcesdefault 485 485 self.logdebug("MediaSourcesDefault : \t\t%i" % nbmediasourcesdefault)