syntax errors in one file terminated the script. now continues with next input...
This commit is contained in:
parent
1cfc467705
commit
1c0649e17a
|
@ -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'])))
|
||||
|
|
Loading…
Reference in New Issue