Removed unused condition on string_to_list method

This commit is contained in:
Luis Aleixo 2022-03-10 18:10:36 +00:00
parent 8d533f9c57
commit be66ac3307

View file

@ -769,8 +769,7 @@ def time_minutes_to_string(time: int) -> str:
def string_to_list(l: str) -> list:
if (l != []):
return list(ast.literal_eval(l.replace(""", "\"")))
return list(ast.literal_eval(l.replace(""", "\"")))
def list_to_string(s: list) -> str: