Service mode and no cover detection
This commit is contained in:
@@ -10,7 +10,10 @@ samples_info = []
|
||||
def set_samples_info(info):
|
||||
global samples_info
|
||||
if (is_string(info)):
|
||||
info = json.loads(info)
|
||||
if info:
|
||||
info = json.loads(info)
|
||||
else:
|
||||
info=[]
|
||||
if not is_list(info):
|
||||
raise Exception("Sample info must be a list (given object type is " + str(type(info)) + ")")
|
||||
#Sanitize list
|
||||
|
||||
Reference in New Issue
Block a user