Fix OP db import

This commit is contained in:
ArielTM 2020-09-10 09:19:45 +03:00 committed by GitHub
parent 7b6adf6979
commit c3d377cfb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class AuC:
K = unhexlify( fields[1].encode('ascii') )
ALG2 = int( fields[2] )
SQN = int( fields[3] )
if len(fields) > 4 and len(fields) == 32:
if len(fields) > 4 and len(fields[4]) == 32:
OP = unhexlify( fields[4].encode('ascii') )
else:
OP = None