Skip to content

Commit

Permalink
Misplaced closing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlak committed Dec 9, 2020
1 parent 5a3b2a0 commit e79ce48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appstoreconnect/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e79ce48

Please sign in to comment.