Fixes style

This commit is contained in:
Bailey Parker 2019-08-01 01:08:25 -04:00
parent 6f4e44f13d
commit e9802c50bb
No known key found for this signature in database
GPG Key ID: B732B0333C7532C0

View File

@ -315,7 +315,7 @@ def findEncryptedChunks(data):
break
eBegin = eBegin + len(EEXECBEGIN) + 1
endMatch = EEXECEND.search(data, eBegin)
if not endMatch:
if endMatch is None:
raise T1Error("can't find end of eexec part")
eEnd = endMatch.start()
cypherText = data[eBegin:eEnd + 2]