Browse Source

fix style warn

iamgd67 5 năm trước cách đây
mục cha
commit
fb1152a121
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      labelme/app.py

+ 1 - 2
labelme/app.py

@@ -243,7 +243,7 @@ class MainWindow(QtWidgets.QMainWindow):
         )
         saveAuto.setChecked(self._config['auto_save'])
 
-        def onSaveWithImageDataClick(x:bool):
+        def onSaveWithImageDataClick(x: bool):
             self._config['store_data'] = x
             self.actions.saveWithImageData.setChecked(x)
 
@@ -255,7 +255,6 @@ class MainWindow(QtWidgets.QMainWindow):
         )
         saveWithImageData.setChecked(self._config['store_data'])
 
-
         close = action('&Close', self.closeFile, shortcuts['close'], 'close',
                        'Close current file')
         color1 = action('Polygon &Line Color', self.chooseColor1,