Skip to content
Snippets Groups Projects
Commit 81fa4878 authored by Shirlei Chaves's avatar Shirlei Chaves
Browse files

Remove or statement

For statement also includes alternate_fields
parent 25b43f93
No related branches found
No related tags found
No related merge requests found
...@@ -187,7 +187,7 @@ class LDObject(object): ...@@ -187,7 +187,7 @@ class LDObject(object):
def toDict(self, alternate_fields=None, complete=False): def toDict(self, alternate_fields=None, complete=False):
val = {} val = {}
fields = alternate_fields or self.FIELDS fields = self.FIELDS
if not self.structured_fields: if not self.structured_fields:
if self.wrapped_obj.alias != None: if self.wrapped_obj.alias != None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment