aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/extract/libgamma-error-extract2
-rwxr-xr-xsrc/extract/libgamma-method-extract2
2 files changed, 2 insertions, 2 deletions
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')]
diff --git a/src/extract/libgamma-method-extract b/src/extract/libgamma-method-extract
index 8ab2750..77c3a03 100755
--- a/src/extract/libgamma-method-extract
+++ b/src/extract/libgamma-method-extract
@@ -22,7 +22,7 @@ import os
with open(os.path.dirname(sys.argv[0]) + '/../lib/libgamma-method.h', 'rb') as file:
data = file.read()
-data = data.decode('utf-8', 'error')
+data = data.decode('utf-8')
def list_define(prefix, *blacklist):