diff --git a/modules/source/source.py b/modules/source/source.py index fdce134..3f25f4d 100644 --- a/modules/source/source.py +++ b/modules/source/source.py @@ -570,7 +570,9 @@ class source(MumoModule): """ try: # For now all values are integers - d = {k:int(v) for k, v in [var.split(':', 1) for var in identity.split(';')]} + d = {} + for k, v in [var.split(':', 1) for var in identity.split(';')]: + d[k] = int(v) # Make sure mandatory values are present if not "team" in d: return None