X-Git-Url: http://git.ipfire.org/?p=ipfire.org.git;a=blobdiff_plain;f=src%2Fbackend%2Faccounts.py;fp=src%2Fbackend%2Faccounts.py;h=a3c8297bc65e9082a478b4999df748c4833f7b77;hp=2c9f460871c03876738cb96a7a26646e69a9b34b;hb=e929ed926c54bd10e9387755b66add47795e6e50;hpb=a7d34bc522ae6231da5456b95a72aa7e9380e1e1 diff --git a/src/backend/accounts.py b/src/backend/accounts.py index 2c9f4608..a3c8297b 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -924,7 +924,7 @@ class Account(LDAPObject): @property def country_name(self): if self.country_code: - return countries.get_name(self.country_code) + return self.backend.get_country_name(self.country_code) @property def email(self):