Skip to content

Commit

Permalink
Update system.py
Browse files Browse the repository at this point in the history
  • Loading branch information
z1pti3 authored Nov 13, 2021
1 parent ad0afe5 commit 3d30beb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions system/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def fileIntegrityRegister():
checksumHash.sort()
checksum = jimi.helpers.getStringHash(",".join(checksumHash))
system = jimi.cluster.getSystem()
system.checksum = checksum
system.update(["checksum"])
if system is not None:
system.checksum = checksum
system.update(["checksum"])

jimi.logging.debug("Info: System integrity hash. hash={0}".format(checksum),-1)
return checksum
Expand Down

0 comments on commit 3d30beb

Please sign in to comment.