Skip to content

Commit

Permalink
refactor statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Elter committed Nov 24, 2023
1 parent ee142db commit c7bfa7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/b3od/scrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def download(
self, table: str, query_date: Union[Any, Iterable[Any]]
) -> pd.DataFrame:
"""Downloads data from a table in B3 website for a given date (or set of dates)"""
if not table in self.SERVICE_DICT:
if table not in self.SERVICE_DICT:
raise ValueError(f"Table must be one of {self.SERVICE_DICT.keys()}")
service = self.SERVICE_DICT[table]

Expand Down

0 comments on commit c7bfa7f

Please sign in to comment.