From 4a0fc8380fdcf46f7a1bec3be2f46de0d1d9484b Mon Sep 17 00:00:00 2001 From: devStorm <59678453+developStorm@users.noreply.github.com> Date: Fri, 14 May 2021 11:03:16 -0700 Subject: [PATCH] variable naming --- app/config.py | 2 +- app/dashboard/templates/dashboard/setting.html | 2 +- app/dashboard/views/custom_alias.py | 6 +++--- app/dashboard/views/setting.py | 4 ++-- app/models.py | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/config.py b/app/config.py index aedffe76..d7eda033 100644 --- a/app/config.py +++ b/app/config.py @@ -375,4 +375,4 @@ ALIAS_LIMIT = os.environ.get("ALIAS_LIMIT") or "100/day;50/hour;5/minute" ENABLE_SPAM_ASSASSIN = "ENABLE_SPAM_ASSASSIN" in os.environ -ALIAS_RAND_SUFFIX_LENGTH = int(os.environ.get("ALIAS_RAND_SUFFIX_LENGTH", 5)) +ALIAS_RANDOM_SUFFIX_LENGTH = int(os.environ.get("ALIAS_RAND_SUFFIX_LENGTH", 5)) diff --git a/app/dashboard/templates/dashboard/setting.html b/app/dashboard/templates/dashboard/setting.html index 233915c6..410bf7ef 100644 --- a/app/dashboard/templates/dashboard/setting.html +++ b/app/dashboard/templates/dashboard/setting.html @@ -248,7 +248,7 @@ -
Select the default suffix generator for aliases.
+
Select the default suffix generator for aliases.