Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix download if document is not in scope or has no attachments #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

moba
Copy link

@moba moba commented Feb 23, 2019

This PR fixes two bugs:

  1. If a requested document is not "within the current scope" (not on any reachable page; with GLS the only pages directly visible are 1-4), this patch walks to the last page and tries again recursively.

  2. If a requested document has no attachments, it skips the download.

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.

1 participant