Skip to content

Commit

Permalink
Merge pull request bryanthowell-tableau#83 from DataBass-Joe/patch-3
Browse files Browse the repository at this point in the history
Update tableau_parameters.py
  • Loading branch information
Bryant Howell authored Feb 17, 2020
2 parents 205c10b + 9c86756 commit 44aabd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tableau_documents/tableau_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def get_datasource_xml(self) -> str:

def get_parameter_by_name(self, parameter_name: str) -> TableauParameter:
for p in self._parameters:
if p.name == parameter_name:
if self.parameters[p].name == parameter_name:
return p
else:
raise NoMatchFoundException('No parameter named {}'.format(parameter_name))
Expand Down

0 comments on commit 44aabd1

Please sign in to comment.