aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-04 22:44:24 +0800
committercrupest <crupest@outlook.com>2024-11-04 22:44:24 +0800
commit8bf9224776e03063ab4f6a39f53b2bcf1185bbd1 (patch)
treef377fc9efb5ddb4a560647e33db96859d51a3aa7 /tools
parentd9b14f2ab051ad583e820975f2fe4f8bea19245f (diff)
downloadcrupest-8bf9224776e03063ab4f6a39f53b2bcf1185bbd1.tar.gz
crupest-8bf9224776e03063ab4f6a39f53b2bcf1185bbd1.tar.bz2
crupest-8bf9224776e03063ab4f6a39f53b2bcf1185bbd1.zip
fix(aio): wrong arg name.
Diffstat (limited to 'tools')
-rw-r--r--tools/aio/modules/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aio/modules/config.py b/tools/aio/modules/config.py
index d6e7d87..4faa8a3 100644
--- a/tools/aio/modules/config.py
+++ b/tools/aio/modules/config.py
@@ -12,7 +12,7 @@ def generate_uuid():
# generate random characters of digits and alphabets
def generate_random_string(length: int):
characters = string.ascii_letters + string.digits
- random_string = ''.join(random.choice(characters) for _ in range(n))
+ random_string = ''.join(random.choice(characters) for _ in range(length))
return random_string
def generate_random_string_32():