From d6cba58f176ad86b0099fb069a7537c937abc624 Mon Sep 17 00:00:00 2001 From: epitaxy Date: Tue, 16 Aug 2022 01:52:48 +0000 Subject: [PATCH] log_validate was added --- base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.py b/base.py index 3a8acdf..2f8a90d 100644 --- a/base.py +++ b/base.py @@ -11,6 +11,6 @@ state, time = list( zip( *map(itemgetter('state', 'last_updated'), raw_data) )) state = list(map(itemgetter('state'), raw_data)) -def string_to_dict(string_as_dict): +def string_2_dict(string_as_dict): from ast import literal_eval return literal_eval(string_as_dict) \ No newline at end of file