Skip to content

Commit

Permalink
Merge pull request #711 from OMEGARAZER/development
Browse files Browse the repository at this point in the history
  • Loading branch information
Serene-Arc authored Dec 4, 2022
2 parents 614c19b + d4bfe8f commit 76b441c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bdfr/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def download(self):
):
logger.debug(
f"Submission {submission.id} in {submission.subreddit.display_name} skipped"
f' due to {submission.author.name if submission.author else "DELETED"} being an ignored user'
f" due to {submission.author.name if submission.author else 'DELETED'} being an ignored user"
)
continue
if submission.id in self.excluded_submission_ids:
Expand Down
4 changes: 1 addition & 3 deletions tests/test_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ def test_download_submission_file_exists(
folder_contents = list(tmp_path.iterdir())
output = capsys.readouterr()
assert len(folder_contents) == 1
assert (
"Arneeman_Metagaming isn't always a bad thing_m1hqw6.png" " from submission m1hqw6 already exists" in output.out
)
assert "Arneeman_Metagaming isn't always a bad thing_m1hqw6.png from submission m1hqw6 already exists" in output.out


@pytest.mark.online
Expand Down

0 comments on commit 76b441c

Please sign in to comment.