Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

De-duplicate code in decrypt and download-with-auto-decrypt#56

Open
aristos-d wants to merge 2 commits into
samloader:masterfrom
aristos-d:master
Open

De-duplicate code in decrypt and download-with-auto-decrypt#56
aristos-d wants to merge 2 commits into
samloader:masterfrom
aristos-d:master

Conversation

@aristos-d

Copy link
Copy Markdown

High-level file decryption is duplicated in the case of a "decrypt" command and the "download" command with the auto-decrypt option ("-D"). This pull request factors this functionality into a new function "decrypt_file", improving code readability.

A minor typo is also fixed in the print statement (see "decrypting").

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant