Browse Source

Update sysaudit/_csysaudit.pyx

pull/11/head
Brett Langdon 5 years ago
committed by GitHub
parent
commit
07efd50f62
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sysaudit/_csysaudit.pyx

+ 1
- 1
sysaudit/_csysaudit.pyx View File

@ -11,7 +11,7 @@ cdef void _audit(str event, tuple args) except *:
def audit(event, *args): def audit(event, *args):
global has_hooks global has_hooks
if not has_hooks:
if has_hooks == 0:
return return
_audit(event, args) _audit(event, args)


Loading…
Cancel
Save