From e79ce48f510c041fd234b7218c6e1913dc000993 Mon Sep 17 00:00:00 2001 From: Patrice Date: Wed, 9 Dec 2020 10:51:18 +0100 Subject: [PATCH] Misplaced closing parenthesis --- appstoreconnect/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appstoreconnect/api.py b/appstoreconnect/api.py index 6a1fda8..34f0917 100644 --- a/appstoreconnect/api.py +++ b/appstoreconnect/api.py @@ -133,7 +133,7 @@ def _modify_resource(self, resource, args): for attribute in resource.attributes: if attribute in args and args[attribute] is not None: - if type(args[attribute] == list): + if type(args[attribute]) == list: value = list(map(lambda e: e.name if isinstance(e, Enum) else e, args[attribute])) elif isinstance(args[attribute], Enum): value = args[attribute].name