From e79665190a6ccb9064c155c0e02c2d3654c7dc24 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Wed, 18 Dec 2024 07:29:57 +0300 Subject: [PATCH] generate 3 random chars instead of two --- parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.py b/parse.py index 720b4a1..d8a8bbb 100644 --- a/parse.py +++ b/parse.py @@ -571,7 +571,7 @@ def voucher_create_handler(cmd): voucher_detail.name = cmd.n voucher_detail.decimals = cmd.v - random_ascii = "".join(random.choices(string.ascii_letters, k=2)).upper() + random_ascii = "".join(random.choices(string.ascii_letters, k=3)).upper() try: with open("vouchers.json", "r") as f: existing_vouchers = json.load(f)