Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 19, 2023
1 parent 32be570 commit 22cacb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nbconvert/preprocessors/extractattachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ def preprocess_cell(self, cell, resources, index):
break

# Edit the reference to the attachment
cell.source = cell.source.replace(
"attachment:" + fname, path_name + "/" + fname
)
cell.source = cell.source.replace("attachment:" + fname, path_name + "/" + fname)

return cell, resources

0 comments on commit 22cacb5

Please sign in to comment.