Skip to content

Commit 7687108

Browse files
committed
Refine format
1 parent cc87ff9 commit 7687108

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/protect_code.pt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ def protect_pytransform():
5050
fmt = 'I' * n
5151
checksum = sum(pytransform.struct.unpack(fmt, buf)) & 0xFFFFFFFF
5252
if not checksum == {checksum}:
53-
raise RuntimeError("Unexpected %s" % filename)
53+
raise RuntimeError('Unexpected %s' % filename)
5454
try:
5555
check_obfuscated_script()
5656
check_mod_pytransform()
5757
check_lib_pytransform()
5858
except Exception as e:
59-
print("Protection Fault: %s" % e)
59+
print('Protection Fault: %s' % e)
6060
pytransform.sys.exit(1)
6161

6262
protect_pytransform()

0 commit comments

Comments
 (0)