From 9bade2961445b01d79b5e58be35a2bb8f10e587f Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Mon, 21 Sep 2020 16:03:17 +0200 Subject: [PATCH] Allow numeric passwords. --- modules/base/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base/config.py b/modules/base/config.py index 85906500..2a21052f 100644 --- a/modules/base/config.py +++ b/modules/base/config.py @@ -145,7 +145,7 @@ class AuraConfig: """ db_name = self.get("db_name") db_user = self.get("db_user") - db_pass = self.get("db_pass") + db_pass = str(self.get("db_pass")) db_host = self.get("db_host") db_charset = self.get("db_charset", "utf8") return "mysql://" + db_user + ":" + db_pass + "@" + db_host + "/" + db_name + "?charset=" + db_charset \ No newline at end of file -- GitLab