diff -r ea35c92a3c7c -r fbe93720ee9f src/eric7/ViewManager/ViewManager.py --- a/src/eric7/ViewManager/ViewManager.py Thu Feb 22 16:26:46 2024 +0100 +++ b/src/eric7/ViewManager/ViewManager.py Thu Feb 22 16:34:43 2024 +0100 @@ -794,7 +794,7 @@ self.saveAsRemoteAct.setStatusTip( QCoreApplication.translate( "ViewManager", - "Save the current file to a new one on an eric-ide server" + "Save the current file to a new one on an eric-ide server", ) ) self.saveAsRemoteAct.setWhatsThis( @@ -8190,7 +8190,9 @@ fn = self.activeWindow().getFileName() if forRemote and FileSystemUtilities.isRemoteFileName(fn): return ( - ericApp().getObject("EricServer").getServiceInterface("FileSystem") + ericApp() + .getObject("EricServer") + .getServiceInterface("FileSystem") .dirname(fn) ) if not forRemote and FileSystemUtilities.isPlainFileName(fn): @@ -8199,9 +8201,8 @@ # check, if there is an active project and return its path if ericApp().getObject("Project").isOpen(): ppath = ericApp().getObject("Project").ppath - if ( - (forRemote and FileSystemUtilities.isRemoteFileName(ppath)) - or (not forRemote and FileSystemUtilities.isPlainFileName(ppath)) + if (forRemote and FileSystemUtilities.isRemoteFileName(ppath)) or ( + not forRemote and FileSystemUtilities.isPlainFileName(ppath) ): return ppath