diff options
| author | seth <[email protected]> | 2023-01-10 16:09:19 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-10 16:09:19 -0500 |
| commit | cd83a6e250423965f298a4011a1f90f68d6a7868 (patch) | |
| tree | 4aa99566b2b9430f9d75cf58ad64cdd6d51b12e1 /src | |
| parent | 25b9c9c879bb1add9a61c0e2842bf74d043c8e96 (diff) | |
fix: ignore __init__.py when returning list of teawies
Diffstat (limited to 'src')
| -rw-r--r-- | src/guzzle_api/teawie/lib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guzzle_api/teawie/lib.py b/src/guzzle_api/teawie/lib.py index 2dd452c..9dda94b 100644 --- a/src/guzzle_api/teawie/lib.py +++ b/src/guzzle_api/teawie/lib.py @@ -15,6 +15,8 @@ def list_teawies(limit: int) -> list[Path]: for i, file in enumerate(files.iterdir()): if i >= limit: break + if file.name == "__init__.py": + continue res.append(file) return res |
