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 7819a13 commit 80c92b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ pixi*

# Scratch
*scratch*/
test.py
4 changes: 2 additions & 2 deletions elm/web/osti.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def download(self, out_dir):
it does not already exist.
"""
logger.info('Downloading {} records to: {}'
.format(len(self), out_dir))
.format(len(self), out_dir))
os.makedirs(out_dir, exist_ok=True)
for record in self:
fp_out = os.path.join(out_dir, record.osti_id + '.pdf')
Expand All @@ -345,7 +345,7 @@ def download(self, out_dir):
record.download(fp_out)
except Exception as e:
logger.exception('Could not download OSTI ID {} "{}": {}'
.format(record.osti_id, record.title, e))
.format(record.osti_id, record.title, e))
logger.info('Finished download!')

@property
Expand Down

0 comments on commit 80c92b6

Please sign in to comment.