diff options
| author | KunoiSayami <[email protected]> | 2022-10-29 02:25:18 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-10-29 02:25:18 +0800 |
| commit | befbf3b43fab184d5014cc51fcc6c3c1f0a4cd53 (patch) | |
| tree | c99e9fab7ad17e1d01ceb93f54d3ec537baca936 /utils/upload.py | |
| parent | 0e7527d3e1555fb7507dc3b5a8ef0f2d8c7f8160 (diff) | |
feat(script): Optimize build fail output
feat(script): Add update-repo-copy.service
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/upload.py')
| -rwxr-xr-x | utils/upload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/upload.py b/utils/upload.py index 8bb3114..c027bed 100755 --- a/utils/upload.py +++ b/utils/upload.py @@ -30,8 +30,8 @@ async def send_file( data.add_field("file", open(file, "rb"), filename=file) data.add_field("token", args.token) data.add_field("arch", args.arch) - async with session.post(args.remote_address, data=data): - pass + async with session.post(args.remote_address, data=data) as req: + logger.info("%s", await req.text()) async def main(args: argparse.Namespace) -> int: |
