Skip to content

Commit

Permalink
Merge pull request #174 from YunoHost/fix-dir-screenshot-error
Browse files Browse the repository at this point in the history
do not consider a directory as a wrong screenshot file...
  • Loading branch information
OniriCorpe authored Jan 24, 2025
2 parents ff6d1fe + 97924aa commit bdcb257
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ def doc_dir(app) -> TestResult:

for file in (app.path / "doc" / "screenshots").rglob("*"):
filename = file.name
if Path.is_dir(file):
continue
if filename == ".gitkeep":
continue
if all(
Expand Down

0 comments on commit bdcb257

Please sign in to comment.