Skip to content

Commit 491f980

Browse files
author
Evan Derickson
committed
Restore prior var assignment
1 parent 2ac52d6 commit 491f980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

overpass/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ class Utils(object):
88

99
@staticmethod
1010
def to_overpass_id(osmid, area=False):
11+
area_base = 2400000000
12+
relation_base = 3600000000
1113
if area:
12-
area_base = 2400000000
1314
return int(osmid) + area_base
14-
relation_base = 3600000000
1515
return int(osmid) + relation_base

0 commit comments

Comments
 (0)