Skip to content

Commit

Permalink
ver
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Feb 28, 2021
1 parent 850c59f commit e97de0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hook/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
LICENSE = 'GPL'
INSTALL_REQUIRES = [
'numpy', 'requests', 'Shapely', 'imutils',
'pyzm>=0.3.35', 'scikit-learn', 'future', 'imageio',
'pyzm>=0.3.36', 'scikit-learn', 'future', 'imageio',
'imageio-ffmpeg','pygifsicle', 'Pillow'
]

Expand Down
6 changes: 5 additions & 1 deletion hook/zm_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

auth_header = None

__app_version__ = '6.1.12'
__app_version__ = '6.1.13'

def remote_detect(stream=None, options=None, api=None, args=None):
# This uses mlapi (https://github.com/pliablepixels/mlapi) to run inferencing and converts format to what is required by the rest of the code.
Expand Down Expand Up @@ -573,9 +573,13 @@ def main_handler():
if __name__ == '__main__':
try:
main_handler()
g.logger.Debug (1, "Closing logs")
g.logger.close()
except Exception as e:
if g.logger:
g.logger.Fatal('Unrecoverable error:{} Traceback:{}'.format(e,traceback.format_exc()))
g.logger.Debug (1, "Closing logs")
g.logger.close()
else:
print('Unrecoverable error:{} Traceback:{}'.format(e,traceback.format_exc()))
exit(1)
2 changes: 1 addition & 1 deletion hook/zmes_hook_helpers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__="6.1.12"
__version__="6.1.13"
VERSION=__version__
2 changes: 1 addition & 1 deletion zmeventnotification.pl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
use IO::Select;

####################################
my $app_version = '6.1.12';
my $app_version = '6.1.13';
####################################

# do this before any log init etc.
Expand Down

0 comments on commit e97de0f

Please sign in to comment.