Skip to content

Commit

Permalink
formatting improvements with black
Browse files Browse the repository at this point in the history
  • Loading branch information
fmilthaler committed Apr 12, 2020
1 parent dc32604 commit d3d7d5f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions finquant/portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,11 @@ def _quandl_request(names, start_date=None, end_date=None):
try:
resp = quandl.get(reqnames, start_date=start_date, end_date=end_date)
except Exception:
errormsg = "Error during download of stock data from Quandl.\n" \
+ "Make sure all the requested stock names/tickers are " \
+ "supported by Quandl."
errormsg = (
"Error during download of stock data from Quandl.\n"
+ "Make sure all the requested stock names/tickers are "
+ "supported by Quandl."
)
raise Exception(errormsg)
return resp

Expand Down

0 comments on commit d3d7d5f

Please sign in to comment.