Skip to content

fix: keep quiet password uploads working - #28

Open
yoldaolmak wants to merge 1 commit into
huangwb8:mainfrom
yoldaolmak:fix-password-quiet-upload-count
Open

fix: keep quiet password uploads working#28
yoldaolmak wants to merge 1 commit into
huangwb8:mainfrom
yoldaolmak:fix-password-quiet-upload-count

Conversation

@yoldaolmak

Copy link
Copy Markdown

Summary

  • initialize the successful upload counter even when password mode runs with
  • preserve the previous count when a path is not converted into a post
  • add a small credential-free unittest for the quiet upload path

Verification

This fixes a real automation edge case: quiet password-mode uploads should not depend on progress logging being enabled.

@yoldaolmak

Copy link
Copy Markdown
Author

Note on the FOSSA check: this PR does not add any runtime or test dependency; it only changes the password-mode counter initialization and adds a stdlib . Local verification passed with .

@yoldaolmak

Copy link
Copy Markdown
Author

Correction to the note above: this PR does not add any runtime or test dependency; it only changes the password-mode counter initialization and adds a stdlib unittest. Local verification passed with:

python3 -m unittest tests.test_password_uploader

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