From 033fd8c56e0458d4a5a4fc1d83e99931999af4f7 Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Wed, 24 Mar 2021 16:51:47 -0400 Subject: [PATCH] Update Picocrypt.py --- src/Picocrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Picocrypt.py b/src/Picocrypt.py index d977226..6a31be1 100644 --- a/src/Picocrypt.py +++ b/src/Picocrypt.py @@ -372,7 +372,7 @@ def start(): chunkSize = 2**20 # Decide if encrypting or decrypting - if ".pcv" not in inputFile: + if inputFile.endswith(".pcv"): mode = "encrypt" gMode = "encrypt" outputFile = inputFile+".pcv"