Parcourir la source

Added back old main function with error checking

cmerchant il y a 6 ans
Parent
commit
4a5f282e3b
1 fichiers modifiés avec 4 ajouts et 5 suppressions
  1. 4 5
      labelme/main.py

+ 4 - 5
labelme/main.py

@@ -16,11 +16,10 @@ from labelme.utils import newIcon
 
 
 def main():
-    _main()
-    # try:
-    #     _main()
-    # except Exception as e:
-    #     logger.error(e)
+    try:
+        _main()
+    except Exception as e:
+        logger.error(e)
 
 
 def _main():