diff --git a/tuned/logs.py b/tuned/logs.py index 4370e22..bd1b6ec 100644 --- a/tuned/logs.py +++ b/tuned/logs.py @@ -30,7 +30,7 @@ def _random_string(length): chars = string.ascii_letters + string.digits res = "" for i in range(length): - res += random.choice(chars) + res += r.choice(chars) return res def log_capture_start(log_level):