mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
fix: update upstream upload service py script & correct its full path
This commit is contained in:
committed by
borgmanJeremy
parent
4b0740cb52
commit
eb7fcd660c
@@ -99,6 +99,7 @@ def download_url(url: str) -> str:
|
||||
return None
|
||||
|
||||
j = {
|
||||
"intent": "entire_transfer",
|
||||
"security_hash": security_hash,
|
||||
}
|
||||
if recipient_id:
|
||||
|
||||
@@ -20,6 +20,11 @@ if [ ! -f "$FILE" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
RESPONSE=$(python3 transferwee.py upload "${FILE}")
|
||||
|
||||
scripts_path=`dirname $0`
|
||||
|
||||
python3 -m pip install -U -q requests
|
||||
|
||||
RESPONSE=$(python3 ${scripts_path}/transferwee.py upload "${FILE}")
|
||||
|
||||
echo "${RESPONSE}" # to terminal
|
||||
|
||||
Reference in New Issue
Block a user