Skip to content

Commit

Permalink
fixing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenman23 committed Jan 7, 2025
1 parent 2ed61b9 commit 7819a13
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 424 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,4 @@ pixi*

# Scratch
*scratch*/
test.py
10 changes: 5 additions & 5 deletions elm/web/osti.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,16 +326,16 @@ def _get_all(self, n_pages):

def download(self, out_dir):
"""Download all PDFs from the records in this OSTI object into a
directory. PDFs will be given file names based on their OSTI record
ID
directory. PDFs will be given file names based on their OSTI
record ID
Parameters
----------
out_dir : str
Directory to download PDFs to. This directory will be created
if it does not already exist.
Directory to download PDFs to. This directory will be created if
it does not already exist.
"""
logger.info('''Downloading {} records to: {}'''
logger.info('Downloading {} records to: {}'
.format(len(self), out_dir))
os.makedirs(out_dir, exist_ok=True)
for record in self:
Expand Down
Loading

0 comments on commit 7819a13

Please sign in to comment.