Skip to content

Commit b5b516d

Browse files
authored
update EcondbReader.read to use session
1 parent 63a51b4 commit b5b516d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_datareader/econdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def url(self):
2323

2424
def read(self):
2525
""" read one data from specified URL """
26-
results = requests.get(self.url).json()["results"]
26+
results = self.session.get(self.url).json()["results"]
2727
df = pd.DataFrame({"dates": []}).set_index("dates")
2828

2929
if self._show == "labels":

0 commit comments

Comments
 (0)