Missed renaming dir
This commit is contained in:
@@ -43,7 +43,7 @@ def load_DB():
|
|||||||
sys.exit('file {}, line {}: {}'.format(csv_locations_file, csv_locations_reader.line_num, error))
|
sys.exit('file {}, line {}: {}'.format(csv_locations_file, csv_locations_reader.line_num, error))
|
||||||
|
|
||||||
if COUNTRYCODE:
|
if COUNTRYCODE:
|
||||||
country_blocks_file = root + '/' + dir + '/' + 'GeoLite2-Country-Blocks-IPv4.csv'
|
country_blocks_file = root + '/' + archive_dir + '/' + 'GeoLite2-Country-Blocks-IPv4.csv'
|
||||||
with open(country_blocks_file, newline='') as csv_country_blocks_file:
|
with open(country_blocks_file, newline='') as csv_country_blocks_file:
|
||||||
csv_country_blocks_reader = csv.DictReader(csv_country_blocks_file)
|
csv_country_blocks_reader = csv.DictReader(csv_country_blocks_file)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user