diff options
| author | KunoiSayami <[email protected]> | 2023-06-13 02:12:26 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2023-06-13 02:12:26 +0800 |
| commit | be6037c6685895909b06c779c3688df1dfc372f5 (patch) | |
| tree | a9af8f782ec268f5d30083dc6a8ee8822dd679bd /utils | |
| parent | cf79dbf17e65522983c98ac6e8e2b323fb8acbc8 (diff) | |
feat(script): Use strip before print
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/upload.py | 2 |
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: |
