Skip to content

Commit

Permalink
f string
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Oct 31, 2023
1 parent 719e505 commit c54fa60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datawrapper/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ def get_data(self, chart_id: str):
dict
A dictionary containing the information of the chart, table, or map.
"""
return self.get(self._CHARTS_URL + f"/{chart_id}/data")
return self.get(f"{self._CHARTS_URL}/{chart_id}/data")

def chart_data(self, chart_id: str):
"""A deprecated method of the get_data method."""
Expand Down

0 comments on commit c54fa60

Please sign in to comment.