From 254f0451951e6737105ad6cdb72ee812b93f49a5 Mon Sep 17 00:00:00 2001 From: mnicky Date: Fri, 24 Nov 2017 17:17:55 +0100 Subject: [PATCH] use correct db identifier for cityV6 database --- csv2dat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv2dat.py b/csv2dat.py index 898401b..0d49f41 100755 --- a/csv2dat.py +++ b/csv2dat.py @@ -351,7 +351,7 @@ class CityRev1v6RadixTree(CityRev1RadixTree): usage = '-w mmcity6.dat mmcity6 GeoLiteCityv6.csv' cmd = 'mmcity6' seek_depth = 127 - edition = pygeoip.const.CITY_EDITION_REV1 + edition = pygeoip.const.CITY_EDITION_REV1_V6 reclen = pygeoip.const.STANDARD_RECORD_LENGTH segreclen = pygeoip.const.SEGMENT_RECORD_LENGTH