From 2868251c6d60a1d952069c4b023d0c12a12acb2b Mon Sep 17 00:00:00 2001 From: Rossen Georgiev <rossen@rgp.io> Date: Sun, 1 May 2016 02:22:44 +0100 Subject: [PATCH] fix common enum map --- steam/enums/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam/enums/common.py b/steam/enums/common.py index 4ceed15..bbdbda6 100644 --- a/steam/enums/common.py +++ b/steam/enums/common.py @@ -350,8 +350,8 @@ class EClientPersonaStateFlag(SteamIntEnum): from sys import modules from enum import EnumMeta -__all__ = map(lambda y: y.__name__, +__all__ = list(map(lambda y: y.__name__, filter(lambda x: x.__class__ is EnumMeta, modules[__name__].__dict__.values()), - ) + )) del modules, EnumMeta