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

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

View File

@ -109,10 +109,10 @@ for file in files:
if resolution == [0,0,0]:
print 'no resolution info found.'
sys.exit(1)
continue
if 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,resolution_blown)))