mirror of
https://github.com/Dinnerbone/mcstatus.git
synced 2026-04-06 12:01:24 +08:00
Don't get plugins using map()
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user