Fix ECB source to get data from before 90 days ago.
This commit is contained in:
parent
80edd6fa02
commit
f6dceece07
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class ECB:
|
|||
exit(f"start {start} too early. Minimum is {min_start}")
|
||||
|
||||
almost_90_days_ago = str(datetime.now().date() - timedelta(days=85))
|
||||
data = self._raw_data(start > almost_90_days_ago)
|
||||
data = self._raw_data(start < almost_90_days_ago)
|
||||
root = etree.fromstring(data)
|
||||
|
||||
all_rows = []
|
||||
|
|
Loading…
Add table
Reference in a new issue