Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Oct 3, 2024
1 parent 6be3850 commit 1c2398c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hook/zm_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ def main_handler():
g.ctx = ssl.create_default_context()
utils.process_config(args, g.ctx)


# misc came later, so lets be safe
if not os.path.exists(g.config['base_data_path'] + '/misc/'):
try:
Expand All @@ -306,7 +305,6 @@ def main_handler():
from zmes_hook_helpers.apigw import ObjectRemote, FaceRemote, AlprRemote
# now download image(s)


start = datetime.datetime.now()

obj_json = []
Expand All @@ -323,11 +321,10 @@ def main_handler():
'disable_ssl_cert_check': False if g.config['allow_self_signed']=='no' else True
}

g.logger.Debug(1, 'Connecting with ZM APIs')
zmapi = zmapi.ZMApi(options=api_options)
stream = args.get('eventid') or args.get('file')
ml_options = {}
stream_options={}
stream_options = {}
secrets = None

if g.config['ml_sequence'] and g.config['use_sequence'] == 'yes':
Expand Down

0 comments on commit 1c2398c

Please sign in to comment.