Don't get plugins using map()

This commit is contained in:
Nathan Adams
2014-09-07 00:21:14 +02:00
parent 0474c1d68d
commit 1b8ebaf500

View File

@@ -79,7 +79,7 @@ class QueryResponse:
self.brand = parts[0].strip() self.brand = parts[0].strip()
if len(parts) == 2: if len(parts) == 2:
self.plugins = map(lambda s: s.strip(), parts[1].split(";")) self.plugins = [s.strip() for s in parts[1].split(";")]
def __init__(self, raw, players): def __init__(self, raw, players):