Skip to content

Commit 9ec3670

Browse files
authored
Removed unwanted lines.
1 parent 373f95d commit 9ec3670

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

IP2Proxy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,15 +370,13 @@ def _read_record(self, mid, ipv):
370370
def calc_off(what, mid):
371371
return baseaddr + mid * (self._dbcolumn * 4 + off) + off + 4 * (what[self._dbtype]-1)
372372

373-
# print(_COUNTRY_POSITION[self._dbtype])
374373
if _COUNTRY_POSITION[self._dbtype] != 0:
375374
rec.country_short = self._reads(self._readi(calc_off(_COUNTRY_POSITION, mid)) + 1)
376375

377376
rec.country_long = self._reads(self._readi(calc_off(_COUNTRY_POSITION, mid)) + 4)
378377
elif _COUNTRY_POSITION[self._dbtype] == 0:
379378
rec.country_short = _FIELD_NOT_SUPPORTED
380379
rec.country_long = _FIELD_NOT_SUPPORTED
381-
# print(rec.country_short)
382380

383381
if _REGION_POSITION[self._dbtype] != 0:
384382
rec.region = self._reads(self._readi(calc_off(_REGION_POSITION, mid)) + 1)

0 commit comments

Comments
 (0)