syntax errors in one file terminated the script. now continues with next input...

This commit is contained in:
Philip Eisenlohr 2012-09-13 10:08:57 +00:00
parent 1cfc467705
commit 1c0649e17a
1 changed files with 2 additions and 2 deletions

View File

@ -115,10 +115,10 @@ for file in files:
if info['resolution'] == [0,0,0]:
print 'no resolution info found.'
sys.exit(1)
continue
if info['dimension'] == [0.0,0.0,0.0]:
print 'no dimension info found.'
sys.exit(1)
continue
if file['name'] != 'STDIN':
print 'resolution: %s'%(' x '.join(map(str,info['resolution'])))