From 4506eb664dd25afa226fb80d4f69014a826015d3 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Fri, 5 Jan 2024 10:49:23 +0500 Subject: [PATCH] docker install on almalinux --- websiteFunctions/website.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websiteFunctions/website.py b/websiteFunctions/website.py index bcf512630..304785d0d 100755 --- a/websiteFunctions/website.py +++ b/websiteFunctions/website.py @@ -6840,7 +6840,7 @@ StrictHostKeyChecking no pattern = r"^[a-z0-9][a-z0-9]*$" if re.match(pattern, sitename): - return True + pass else: final_dic = {'status': 0, 'error_message': f'invalid site name "{sitename}": must consist only of lowercase alphanumeric characters, as well as start with a letter or number.'} final_json = json.dumps(final_dic)