From 3b13deef055d7bed4f14d115e3c7ae5a22c6715e Mon Sep 17 00:00:00 2001 From: Roman Bazalevskiy Date: Thu, 27 Sep 2018 10:50:44 +0300 Subject: [PATCH 1/1] =?utf8?q?=D0=A0=D0=B5=D0=B6=D0=B8=D0=BC=20=D1=80?= =?utf8?q?=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20"=D1=82=D0=BE=D0=BB=D1=8C=D0=BA?= =?utf8?q?=D0=BE=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D1=82?= =?utf8?q?=D1=8C=20=D0=BE=D1=87=D0=B5=D1=80=D0=B5=D0=B4=D1=8C".?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- render_tiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render_tiles.py b/render_tiles.py index 1116287..2d81f77 100755 --- a/render_tiles.py +++ b/render_tiles.py @@ -158,7 +158,7 @@ def main(): filename,=args print "Rendering file: "+filename+"\n" queue_render(db,filename) - else: + elif len(args)==4: minlat,minlon,maxlat,maxlon=args print "Rendering region "+minlat+'..'+maxlat+' / '+minlon+'..'+maxlon+"\n" queue_tiles(db,float(minlat),float(minlon),float(maxlat),float(maxlon),int(zoom)) -- 2.34.1