Sfoglia il codice sorgente

fix for python 2.7

iamgd67 5 anni fa
parent
commit
e2894d3767
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)