From 28bfdc7b201f494777d078698f7dda31d2e21c24 Mon Sep 17 00:00:00 2001 From: Eriks Karls Date: Thu, 22 Aug 2019 14:33:07 +0300 Subject: [PATCH] Use country ids from constant in utils --- erepublik/citizen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erepublik/citizen.py b/erepublik/citizen.py index 9573a6b..cb3c011 100644 --- a/erepublik/citizen.py +++ b/erepublik/citizen.py @@ -1142,7 +1142,7 @@ class Citizen(classes.CitizenAPI): countries = [country_id] else: good_countries = self.get_travel_countries() - countries = {cid for cid in self.countries.keys() if cid in good_countries} + countries = {cid for cid in utils.COUNTRIES.keys() if cid in good_countries} start_dt = self.now iterable = [countries, product or items, [quality] if quality else range(1, 8)]