Explorar el Código

Added back old main function with error checking

cmerchant hace 6 años
padre
commit
4a5f282e3b
Se han modificado 1 ficheros con 4 adiciones y 5 borrados
  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():