Browse Source

fix for python 2.7

iamgd67 5 years ago
parent
commit
e2894d3767
1 changed files with 1 additions and 1 deletions
  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)