diff --git a/weblate_web/hetzner.py b/weblate_web/hetzner.py index 19b72d181..275daa294 100644 --- a/weblate_web/hetzner.py +++ b/weblate_web/hetzner.py @@ -47,7 +47,7 @@ def generate_subaccount_data( dirname: str, service: Service, customer: Customer ) -> dict[str, str]: # Remove not allowed characters - customer_name = re.sub(r"[^\w,.&]+", " ", customer.name) + customer_name = re.sub(r"[^\w,.&-]+", " ", customer.name) return { "homedirectory": f"weblate/{dirname}", "ssh": "1",