diff options
Diffstat (limited to 'sources/pyside2')
-rw-r--r-- | sources/pyside2/doc/qtattributionsscannertorst.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/doc/qtattributionsscannertorst.py b/sources/pyside2/doc/qtattributionsscannertorst.py index af02103ef..ac651ca8d 100644 --- a/sources/pyside2/doc/qtattributionsscannertorst.py +++ b/sources/pyside2/doc/qtattributionsscannertorst.py @@ -119,7 +119,7 @@ def runScanner(directory, targetFileName): with open(targetFileName, 'w') as targetFile: targetFile.write(rstHeader) - for entry in json.loads(jsonS): + for entry in json.loads(jsonS.decode('utf-8')): name = entry['Name'] title = "{}\n{}".format(name, '-' * len(name)) brief = entry['License'] |