Show
Ignore:
Timestamp:
12/29/07 00:03:01 (17 years ago)
Author:
jerome
Message:

Fixed a small problem with the parser's rewrite.

Files:
1 modified

Legend:

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

    r561 r562  
    9393            parts = line.split() 
    9494            nbparts = len(parts) 
    95             part0 = parts[0] 
     95            if nbparts >= 1 : 
     96                part0 = parts[0] 
     97            else :     
     98                part0 = "" 
    9699            if part0 == r"%ADOPrintSettings:" : 
    97100                acrobatmarker = True