From c54fa601a71de6697f51f3497c06c0373d0d4978 Mon Sep 17 00:00:00 2001 From: palewire Date: Tue, 31 Oct 2023 16:15:31 -0400 Subject: [PATCH] f string --- datawrapper/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datawrapper/__main__.py b/datawrapper/__main__.py index 5d2a3a4..f7fb368 100644 --- a/datawrapper/__main__.py +++ b/datawrapper/__main__.py @@ -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."""