Changeset 518 for pkpgcounter/trunk

Show
Ignore:
Timestamp:
11/27/07 21:54:27 (17 years ago)
Author:
jerome
Message:

Fixed a problem when opening some non-image files.

Files:
1 modified

Legend:

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

    r501 r518  
    3636        try : 
    3737            image = Image.open(self.filename) 
    38         except IOError :     
     38        except (IOError, OverflowError) :     
    3939            return False 
    4040        else :