Skip to content

Commit

Permalink
Remove lstrip of 0s since search API does not allow for truncated CIKs
Browse files Browse the repository at this point in the history
  • Loading branch information
jadchaar committed Jan 18, 2021
1 parent 882d394 commit 3827d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sec_edgar_downloader/Downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get(
# Get all SD filings for Apple
>>> dl.get("SD", "AAPL")
"""
ticker_or_cik = str(ticker_or_cik).strip().upper().lstrip("0")
ticker_or_cik = str(ticker_or_cik).strip().upper()

if amount is None:
# If amount is not specified, obtain all available filings.
Expand Down

0 comments on commit 3827d08

Please sign in to comment.