IP to Geo

IP to Geo Commit Details

Date:2016-02-04 20:39:50 (4 years 8 months ago)
Author:Grégory Soutadé
Branch:master
Commit:f3c8feb3c50becabfcccc728723a710a033ede89
Parents: 58b0439d9d3724136a0106e0f89251200fb14b3c
Message:Add close() method to Python class

Changes:
Mtests/iptogeo.py (1 diff)

File differences

tests/iptogeo.py
8888
8989
9090
91
92
93
# convert to string
country_code = '%c%c' % (country_code[0], country_code[1])
return (ip, country_code)
def close(self):
self._socket.close()

Archive Download the corresponding diff file

Branches

Tags