check for false divisions only if not empty division or location
@@ -696,7 +696,9 @@ def check_false_divisions(data):
for region in data:
for country in data[region]:
for division in data[region][country]:
+ if division != "":
for location in data[region][country][division]:
+ if location != "":
if location in data[region][country] and location != division:
div_as_loc[location] = (region, country, division)
print("Unknown location found as division: " + bold(location) + " (true division: " + bold(division) + ")")
