diff -r 6156d9675f62 -r ea35c92a3c7c src/eric7/Graphics/ApplicationDiagramBuilder.py --- a/src/eric7/Graphics/ApplicationDiagramBuilder.py Mon Feb 19 19:37:00 2024 +0100 +++ b/src/eric7/Graphics/ApplicationDiagramBuilder.py Thu Feb 22 16:26:46 2024 +0100 @@ -218,12 +218,13 @@ # no root path detected return - if FileSystemUtilities.isRemoteFileName(rpath): - root = self.__remotefsInterface.splitdrive(rpath)[1][1:].replace( + root = ( + self.__remotefsInterface.splitdrive(rpath)[1][1:].replace( self.__remotefsInterface.separator(), "." ) - else: - root = os.path.splitdrive(rpath)[1][1:].replace(os.sep, ".") + if FileSystemUtilities.isRemoteFileName(rpath) + else os.path.splitdrive(rpath)[1][1:].replace(os.sep, ".") + ) packages = {} self.__shapes = {}