We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d1d2d6 + f8636df commit 16f480cCopy full SHA for 16f480c
wannacri/wannacri.py
@@ -293,7 +293,7 @@ def create_usm():
293
294
usm = Usm(video=[video], key=args.key)
295
with open(filename + ".usm", "wb") as f:
296
- mode = None if args.key is None else OpMode.ENCRYPT
+ mode = OpMode.NONE if args.key is None else OpMode.ENCRYPT
297
298
for packet in usm.stream(mode, encoding=args.encoding):
299
f.write(packet)
0 commit comments