From: build Date: Fri, 16 Feb 2007 16:33:57 +0000 (+0000) Subject: oops X-Git-Tag: foo~534 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=20af5075af55b8a9186df9ae799178c28aff20d1;p=infrastructure.git oops --- diff --git a/scripts/plc-map.py b/scripts/plc-map.py index e20db08..e4586b0 100755 --- a/scripts/plc-map.py +++ b/scripts/plc-map.py @@ -44,7 +44,7 @@ def main (): if site['longitude'] is not None and site['latitude'] is not None: px=float(longitude['left']-site['longitude'])/float(longitude['left']-longitude['right']) py=float(latitude['top']-site['latitude'])/float(latitude['top']-latitude['bottom']) - if (px==0 or py==0 or px==1 or py==1) + if (px==0 or py==0 or px==1 or py==1): continue circle(image,px,py,sx,sy,cIn,cOut)