diff --git a/cvxportfolio/data.py b/cvxportfolio/data.py index 59d4408f3..a4dbfbb6f 100644 --- a/cvxportfolio/data.py +++ b/cvxportfolio/data.py @@ -31,7 +31,7 @@ import numpy as np import pandas as pd import requests -import requests.exceptions.ConnectionError +import requests.exceptions from .errors import DataError from .utils import (hash_, periods_per_year_from_datetime_index,