diff options
Diffstat (limited to 'src/extract/libgamma-error-extract')
-rwxr-xr-x | src/extract/libgamma-error-extract | 2 |
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')] |