aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2023-06-13 02:12:26 +0800
committerKunoiSayami <[email protected]>2023-06-13 02:12:26 +0800
commitbe6037c6685895909b06c779c3688df1dfc372f5 (patch)
treea9af8f782ec268f5d30083dc6a8ee8822dd679bd /utils
parentcf79dbf17e65522983c98ac6e8e2b323fb8acbc8 (diff)
feat(script): Use strip before print
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/upload.py b/utils/upload.py
index 35fe002..303273a 100755
--- a/utils/upload.py
+++ b/utils/upload.py
@@ -31,7 +31,7 @@ async def send_file(
data.add_field("token", args.token)
data.add_field("arch", args.arch)
async with session.post(args.remote_address, data=data) as req:
- logger.debug("%s", await req.text())
+ logger.debug("%s", (await req.text()).strip())
async def main(args: argparse.Namespace) -> int: