Check if Python alpr obj exists before unloading

This commit is contained in:
Matt Hill
2015-03-12 19:26:07 -04:00
parent 5e7d18e6b2
commit 0a6e0c294c

View File

@@ -53,4 +53,5 @@ try:
finally:
alpr.unload()
if alpr:
alpr.unload()