diff --git a/stpkg b/stpkg index 1c3de3d7d66cdc6f1a4c58ba26b7755fdfecbc5a..5da91103dba07e99fb267446b8b4889369555a64 100755 --- a/stpkg +++ b/stpkg @@ -185,7 +185,7 @@ upload_file() { # TODO: Use jq here curl -s -X POST -H \ "Content-Type: image/$TYPE" --data-binary "@$DEST" "https://$STPKG_HOMESERV/_matrix/media/r0/upload?access_token=$STPKG_TOKEN" | \ - tee /tmp/toto | python -c "import sys, json; print(json.load(sys.stdin)['content_uri'])" + tee /tmp/toto | python3 -c "import sys, json; print(json.load(sys.stdin)['content_uri'])" [ $? -ne 0 ] && die "Failed to upload sticker $NAME for pack $PACK_NAME to $STPKG_HOMESERV" }