src/eric7/Project/AddFileDialog.py

branch
server
changeset 10610
bb0149571d94
parent 10605
b6f5e27daeb5
child 11090
f5f5f5803935
--- a/src/eric7/Project/AddFileDialog.py	Fri Feb 23 16:52:01 2024 +0100
+++ b/src/eric7/Project/AddFileDialog.py	Mon Feb 26 10:41:10 2024 +0100
@@ -128,12 +128,12 @@
                     sfile if fsInterface.isdir(sfile) else fsInterface.dirname(sfile)
                 )
             else:
-                directory = (
-                    sfile if os.path.isdir(sfile) else os.path.dirname(sfile)
-                )
+                directory = sfile if os.path.isdir(sfile) else os.path.dirname(sfile)
             self.targetDirPicker.setText(directory)
 
-        self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(bool(sfile))
+        self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
+            bool(sfile)
+        )
 
     def getData(self):
         """

eric ide

mercurial