From 3d6a1876d40fb883b247705cd530675eee3ea8a8 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens <46000361+FabianWilkens@users.noreply.github.com> Date: Wed, 4 Jan 2023 18:59:11 +0100 Subject: [PATCH] Fix yunopaste (#1558) * Update yunopaste * Update bin/yunopaste Co-authored-by: Alexandre Aubin --- bin/yunopaste | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/yunopaste b/bin/yunopaste index 679f13544..edf8d55c8 100755 --- a/bin/yunopaste +++ b/bin/yunopaste @@ -19,7 +19,7 @@ paste_data() { [[ -z "$json" ]] && _die "Unable to post the data to the server." key=$(echo "$json" \ - | python -c 'import json,sys;o=json.load(sys.stdin);print o["key"]' \ + | python3 -c 'import json,sys;o=json.load(sys.stdin);print(o["key"])' \ 2>/dev/null) [[ -z "$key" ]] && _die "Unable to parse the server response."