From fc6bc1e302043138eee20655e0b41a6f44af7d57 Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Sat, 4 Jul 2020 17:04:21 +0200 Subject: [PATCH] Adapt to msgpack 1.0.0 --- RxPack/bin/generate_api_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxPack/bin/generate_api_methods.py b/RxPack/bin/generate_api_methods.py index 5659464b..0799c7bd 100755 --- a/RxPack/bin/generate_api_methods.py +++ b/RxPack/bin/generate_api_methods.py @@ -411,7 +411,7 @@ if __name__ == '__main__': nvim_path = os.environ['NVIM_PATH'] if 'NVIM_PATH' in os.environ else 'nvim' nvim_output = subprocess.run([nvim_path, '--api-info'], stdout=subprocess.PIPE) - api = msgpack.unpackb(nvim_output.stdout, encoding='utf-8') + api = msgpack.unpackb(nvim_output.stdout) version = parse_version(api['version']) functions = [f for f in api['functions'] if 'deprecated_since' not in f]