From ece552804fbb6ca20bfde1268fe3789582bc500a Mon Sep 17 00:00:00 2001 From: albertogomcas Date: Wed, 10 Mar 2010 09:03:04 +0000 Subject: [PATCH] review.py: fixed crash when a file is not valid --- review.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/review.py b/review.py index 0610f6f..7d5e4b1 100644 --- a/review.py +++ b/review.py @@ -82,7 +82,8 @@ class reviewCommands: print 'WARNING: maybe you want to finish!' break nextitem=curveset[i] - nextitem.identify(self.drivers) + if not nextitem.identify(self.drivers): + continue nextplot=self.plotmanip_correct(nextitem.curve.default_plots()[0],nextitem) nextvect=nextplot.vectors nextitem.curve.close_all() -- 2.26.2