Update cc/sc-decode
All checks were successful
Check syntax / check (push) Successful in 10s

This commit is contained in:
Nova Cat 2024-12-24 16:09:16 -08:00
parent d8ee864bae
commit 00e29ab908

View file

@ -1,4 +1,7 @@
#!/usr/bin/python3
import sweecrypt
from sys import argv
print(sweecrypt.decrypt(" ".join(argv[3:])))
if argv[3][:2] == "-s":
print(sweecrypt.decrypt(" ".join(argv[4:]), argv[3][3:]))
else:
print(sweecrypt.decrypt(" ".join(argv[3:])))