mirror of
https://github.com/epitaxy/log-watcher.git
synced 2025-10-13 17:51:14 +09:00
log_validate was added
This commit is contained in:
2
base.py
2
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)
|
||||
Reference in New Issue
Block a user