diff options
| author | KunoiSayami <[email protected]> | 2022-10-27 04:07:13 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-10-27 04:09:29 +0800 |
| commit | e8ed4e075fa6e6d47ed0936d344e285b8a1b069a (patch) | |
| tree | 2c51a5bb876a505c6c72d1ee09798276fdd7b2ab /utils/update-db.py | |
| parent | 4074afc97ca9feac6990f39cebb384135a752238 (diff) | |
fix(script): Fix dependency build successful cause exit
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/update-db.py')
| -rwxr-xr-x | utils/update-db.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/update-db.py b/utils/update-db.py index b3c3113..71da6f8 100755 --- a/utils/update-db.py +++ b/utils/update-db.py @@ -5,7 +5,6 @@ import logging import os import pathlib import shutil -import subprocess logger = logging.getLogger() @@ -39,7 +38,7 @@ async def main(remote_dest: str, repo_base_name: str, sign_key: str) -> None: shutil.copy(str(remote_dest.joinpath(file).joinpath()), str(cwd)) for file in os.listdir(str(remote_dest)): - if ".pkg.tar.zst" in file and not file.endswith('.sig'): + if ".pkg.tar.zst" in file and not file.endswith(".sig"): await add_package(database_dest, file, sign_key) |
