瀏覽代碼

fix for python 2.7

iamgd67 5 年之前
父節點
當前提交
e2894d3767
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)