--- a/AssistantEric/APIsManager.py Thu Nov 17 16:07:41 2022 +0100 +++ b/AssistantEric/APIsManager.py Thu Nov 17 17:59:58 2022 +0100 @@ -1273,7 +1273,12 @@ @param filename name of the file that was saved @type str """ - if self.__project.isProjectSource(filename): + try: + isProjectSource = self.__project.isProjectCategory(filename, "SOURCES") + except AttributeError: + # backward compatibility for eric < 22.12 + isProjectSource = self.__project.isProjectSource(filename) + if isProjectSource: self.__workerQueue.append(filename) self.__processQueue()