Skip to content
Snippets Groups Projects
Commit b99d238d authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Fix broken IP

parent ba5cd22f
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,10 @@ def int_list(il):
return [int(i.strip()) for i in il.split(",")]
def str_list(sl):
return [s.strip() for s in sl.split(",")]
if sl:
return [s.strip() for s in sl.split(",")]
else:
return []
def sum_int(s):
return int(sum(float(val) for val in s))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment