Skip to content

Commit 2ac52d6

Browse files
author
Evan Derickson
committed
class method to static method
1 parent b8c6a8e commit 2ac52d6

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
@@ -6,8 +6,8 @@
66

77
class Utils(object):
88

9-
@classmethod
10-
def to_overpass_id(cls, osmid, area=False):
9+
@staticmethod
10+
def to_overpass_id(osmid, area=False):
1111
if area:
1212
area_base = 2400000000
1313
return int(osmid) + area_base

0 commit comments

Comments
 (0)