Update Picocrypt.py

This commit is contained in:
Evan Su 2021-03-24 16:51:47 -04:00 committed by GitHub
parent e1a113e7b0
commit 033fd8c56e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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