aboutsummaryrefslogtreecommitdiffstats
path: root/src/extract/libgamma-error-extract
diff options
context:
space:
mode:
Diffstat (limited to 'src/extract/libgamma-error-extract')
-rwxr-xr-xsrc/extract/libgamma-error-extract2
1 files changed, 1 insertions, 1 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')]