Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from RiiConnect24/sourcery/master
Browse files Browse the repository at this point in the history
Sourcery refactored master branch
  • Loading branch information
larsenv authored Oct 27, 2023
2 parents 9b9a699 + e137b48 commit 5b6ad23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wc24encrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ def u32(data):
elif args.type[0] == "dec":
processed = data

content = {}
content = {"magic": b"WC24" if args.type[0] == "enc" else u32(0)}

content["magic"] = b"WC24" if args.type[0] == "enc" else u32(0)
content["version"] = u32(1) if args.type[0] == "enc" else u32(0)
content["filler"] = u32(0)
content["crypt_type"] = u8(1) if args.type[0] == "enc" else u8(0)
Expand Down

0 comments on commit 5b6ad23

Please sign in to comment.