Commit 85675c23 authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

scripts: read_packages: open json in utf-8 mode explicitely

parent 20f51b09
......@@ -12,12 +12,13 @@ PACKAGES_KEY = "packages"
PACKAGE_NAME_KEY = "pkgname"
import codecs
import json
import sys
import os
def packageJsonToSimpleList(filename):
file_handle = open(filename, 'r')
file_handle =, 'r', 'utf-8-sig')
pkginfo = json.load(file_handle)
for category_name,category in pkginfo.items():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment