Explorar o código

fix for python 2.7

iamgd67 %!s(int64=5) %!d(string=hai) anos
pai
achega
e2894d3767
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      labelme/app.py

+ 1 - 1
labelme/app.py

@@ -243,7 +243,7 @@ class MainWindow(QtWidgets.QMainWindow):
         )
         saveAuto.setChecked(self._config['auto_save'])
 
-        def onSaveWithImageDataClick(x: bool):
+        def onSaveWithImageDataClick(x):
             self._config['store_data'] = x
             self.actions.saveWithImageData.setChecked(x)