Typo in i18n key

This commit is contained in:
Alexandre Aubin 2023-07-11 15:51:19 +02:00
parent 72d7f237a4
commit e695c89ad0

View file

@ -237,7 +237,7 @@ def dyndns_unsubscribe(operation_logger, domain, recovery_password=None):
timeout=30,
)
except Exception as e:
raise YunohostError("dyndns_unregistration_failed", error=str(e))
raise YunohostError("dyndns_unsubscribe_failed", error=str(e))
if r.status_code == 200: # Deletion was successful
for key_file in glob.glob(f"/etc/yunohost/dyndns/K{domain}.+*.key"):