Corrected an issue causing the Project function searching for new files to fail to detect such files. eric7

Mon, 24 Jun 2024 13:35:01 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 24 Jun 2024 13:35:01 +0200
branch
eric7
changeset 10796
125a9caa538f
parent 10795
89cfe35c12f9
child 10797
81f885140d2b

Corrected an issue causing the Project function searching for new files to fail to detect such files.

src/eric7/Project/Project.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Project/Project.py	Sun Jun 23 16:23:36 2024 +0200
+++ b/src/eric7/Project/Project.py	Mon Jun 24 13:35:01 2024 +0200
@@ -6368,8 +6368,9 @@
                     filetype in self.getFileCategories()
                     and (
                         fn not in self.__pdata[filetype]
-                        and (
+                        or (
                             filetype == "OTHERS"
+                            and fn not in self.__pdata[filetype]
                             and os.path.dirname(fn) not in self.__pdata["OTHERS"]
                         )
                     )

eric ide

mercurial