From 5ac3aecd30e7effd928084d7c21e0aace6019f9b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 18 Jun 2014 02:42:19 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/extract/libgamma-error-extract | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extract/libgamma-error-extract') diff --git a/src/extract/libgamma-error-extract b/src/extract/libgamma-error-extract index a6c2d63..e237fb8 100755 --- a/src/extract/libgamma-error-extract +++ b/src/extract/libgamma-error-extract @@ -22,7 +22,7 @@ import os with open(os.path.dirname(sys.argv[0]) + '/../lib/libgamma-error.h', 'rb') as file: data = file.read() -data = data.decode('utf-8', 'error') +data = data.decode('utf-8') if sys.argv[1] == '--list': defs = [line for line in data.split('\n') if line.startswith('#define') and not line.endswith('_H')] -- cgit v1.2.3-70-g09d2