From 0c7f9040e99d603b3b7444bed7e5b0426ab860f2 Mon Sep 17 00:00:00 2001 From: Sergiy Kozyr Date: Mon, 29 Jul 2024 19:49:08 +0300 Subject: [PATCH] Update tools/python/stylesheet/drules_merge.py Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com> Signed-off-by: Sergiy Kozyr --- tools/python/stylesheet/drules_merge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/stylesheet/drules_merge.py b/tools/python/stylesheet/drules_merge.py index c067cbf75b..50a7382b24 100755 --- a/tools/python/stylesheet/drules_merge.py +++ b/tools/python/stylesheet/drules_merge.py @@ -74,7 +74,7 @@ def create_diff(zooms1, zooms2): print("{}: missing completely; {}".format(typ, zooms_string(zooms2[typ][0].scale, zooms2[typ][1].scale))) cont = drules_struct_pb2.ClassifElementProto() cont.name = typ - for z in range(zooms2[typ][0].scale, zooms2[typ][1].scale+1): + for z in range(zooms2[typ][0].scale, zooms2[typ][1].scale + 1): fix = copy.deepcopy(zooms2[typ][0]) fix.scale = z cont.element.extend([fix])