--- a/src/eric7/DataViews/PyProfileDialog.py Thu Feb 22 16:26:46 2024 +0100 +++ b/src/eric7/DataViews/PyProfileDialog.py Thu Feb 22 16:34:43 2024 +0100 @@ -106,9 +106,9 @@ self.summaryList.customContextMenuRequested.connect(self.__showContextMenu) # eric-ide server interface - self.__serverFsInterface = ericApp().getObject( - "EricServer" - ).getServiceInterface("FileSystem") + self.__serverFsInterface = ( + ericApp().getObject("EricServer").getServiceInterface("FileSystem") + ) def __createResultItem( self, @@ -272,15 +272,9 @@ fname = "{0}.profile".format(self.basename) if ( - ( - FileSystemUtilities.isRemoteFileName(fname) - and not self.__serverFsInterface.exists(fname) - ) - or ( - FileSystemUtilities.isPlainFileName(fname) - and not os.path.exists(fname) - ) - ): + FileSystemUtilities.isRemoteFileName(fname) + and not self.__serverFsInterface.exists(fname) + ) or (FileSystemUtilities.isPlainFileName(fname) and not os.path.exists(fname)): EricMessageBox.warning( self, self.tr("Profile Results"),