174 apifiles = sorted(Preferences.getEditorAPI( |
174 apifiles = sorted(Preferences.getEditorAPI( |
175 self.__language, self.__projectType)) |
175 self.__language, self.__projectType)) |
176 if self.__apifiles != apifiles: |
176 if self.__apifiles != apifiles: |
177 needsPreparation = True |
177 needsPreparation = True |
178 for apifile in apifiles: |
178 for apifile in apifiles: |
|
179 apifilePath = pathlib.Path(apifile) |
179 if ( |
180 if ( |
180 pathlib.Path(apifile).stat().st_mtime > |
181 apifilePath.exists() and |
|
182 apifilePath.stat().st_mtime > |
181 preparedAPIsModified |
183 preparedAPIsModified |
182 ): |
184 ): |
183 needsPreparation = True |
185 needsPreparation = True |
184 break |
186 break |
185 |
187 |