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
commitc0655c3c91e7336712df3bace699bb66f28d7c0d (patch)
treef377fc9efb5ddb4a560647e33db96859d51a3aa7 /tools
parent39377a7772919ba86da9711b25b58ed8bafeaddd (diff)
downloadcrupest-c0655c3c91e7336712df3bace699bb66f28d7c0d.tar.gz
crupest-c0655c3c91e7336712df3bace699bb66f28d7c0d.tar.bz2
crupest-c0655c3c91e7336712df3bace699bb66f28d7c0d.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():