From 8bf9224776e03063ab4f6a39f53b2bcf1185bbd1 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 4 Nov 2024 22:44:24 +0800 Subject: fix(aio): wrong arg name. --- tools/aio/modules/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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(): -- cgit v1.2.3