Skip to content

Fix Windows path filtering for FTP files - #374

Open
jay23606 wants to merge 1 commit into
AlertaDengue:mainfrom
jay23606:fix/windows-ftp-path-filter
Open

jay23606 wants to merge 1 commit into
AlertaDengue:mainfrom
jay23606:fix/windows-ftp-path-filter

Conversation

@jay23606

Copy link
Copy Markdown

Summary

Normalize Windows path separators before filtering files by client in PySUS.query, so FTP files are not dropped on Windows.

Fixes #372

Validation

  • python -m pytest pysus/tests/api/test_client.py -q — 51 passed.
  • Regression gate — the focused test failed on both clean-base worktrees and passed on both fix worktrees.
  • Black, isort, Flake8, and git diff --check passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pysus.ftp.* returns an empty FileBag on Windows (origin filter uses str(path))

1 participant