Typo: self.hasattr is not a thing /o\

This commit is contained in:
Alexandre Aubin 2022-01-29 18:05:23 +01:00
parent 7377798385
commit e46fe6b77b

View file

@ -500,7 +500,7 @@ class DomainConfigPanel(ConfigPanel):
super()._load_current_values()
# FIXME: Ugly hack to save the registar id/value and reinject it in _load_current_values ...
if self.hasattr("registrar_id"):
if hasattr(self, "registrar_id"):
self.values["registrar"] = self.registar_id