diff --git a/js/misc/fileUtils.js b/js/misc/fileUtils.js index 81cd92c94..24add2e7e 100644 --- a/js/misc/fileUtils.js +++ b/js/misc/fileUtils.js @@ -90,7 +90,7 @@ function loadInterfaceXML(iface) { if (bytes instanceof Uint8Array) xml = imports.byteArray.toString(bytes) else - xml = bytes; + xml = bytes.toString(); } catch (e) { log('Failed to load D-Bus interface ' + iface); }