--- a/src/eric7/DataViews/CodeMetrics.py Thu Feb 22 16:26:46 2024 +0100 +++ b/src/eric7/DataViews/CodeMetrics.py Thu Feb 22 16:34:43 2024 +0100 @@ -232,9 +232,7 @@ remotefsInterface = ( ericApp().getObject("EricServer").getServiceInterface("FileSystem") ) - text = remotefsInterface.readEncodedFile( - filename - )[0] + text = remotefsInterface.readEncodedFile(filename)[0] else: text = Utilities.readEncodedFile(filename)[0] except (OSError, UnicodeError):