MCPcopy Create free account
hub / github.com/EASY233/Finger / __init__

Method __init__

lib/ipAttributable.py:11–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class IpAttributable:
11 def __init__(self):
12 dbFile = os.path.join(path.library, "data", "ip2region.db")
13 self.searcher = Ip2Region(dbFile)
14 self.getAttributable()
15
16
17 def ipCollection(self):

Callers

nothing calls this directly

Calls 2

getAttributableMethod · 0.95
Ip2RegionClass · 0.90

Tested by

no test coverage detected