Update Picocrypt.py

This commit is contained in:
Evan Su 2021-03-24 17:26:30 -04:00 committed by GitHub
parent ae52f897ac
commit 62242034f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"