From 2cb760cac61d04792b000878d41046030c5bac28 Mon Sep 17 00:00:00 2001 From: MoonGem <34537029+MoonGem@users.noreply.github.com> Date: Sun, 25 Mar 2018 08:18:58 -0500 Subject: [PATCH] Update random.py --- user_data/random/random.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user_data/random/random.py b/user_data/random/random.py index c9dcabc95..960eefb57 100644 --- a/user_data/random/random.py +++ b/user_data/random/random.py @@ -34,7 +34,7 @@ while True: for proc in processes: wait = proc.communicate() string = str(wait) - params = re.search(r'~~~~(.*)\~~~~', string) + params = re.search(r'~~~~(.*)~~~~', string).group(1) mfi = re.search(r'MFI Value(.*)XXX', string) fastd = re.search(r'FASTD Value(.*)XXX', string) adx = re.search(r'ADX Value(.*)XXX', string) @@ -47,6 +47,9 @@ while True: print(total) if params: print(params) + print('~~~~~~') + print('Only enable the above settings, not all settings below are used!') + print('~~~~~~') if mfi: print(mfi.group(1)) if fastd: