From 62242034f738a33e68a82ca4cfcdf4b32b83b556 Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Wed, 24 Mar 2021 17:26:30 -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 6a31be1..616d3cb 100644 --- a/src/Picocrypt.py +++ b/src/Picocrypt.py @@ -372,7 +372,7 @@ def start(): chunkSize = 2**20 # Decide if encrypting or decrypting - if inputFile.endswith(".pcv"): + if not inputFile.endswith(".pcv"): mode = "encrypt" gMode = "encrypt" outputFile = inputFile+".pcv"