From 7e0911926305de0be7594f60a7b6f8ec7bf740ca Mon Sep 17 00:00:00 2001 From: Jerry Date: Tue, 2 Apr 2019 22:35:40 +0800 Subject: [PATCH] repo.py: bug fix --- repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo.py b/repo.py index b8d24d0..21dc5d7 100755 --- a/repo.py +++ b/repo.py @@ -59,7 +59,7 @@ def repo_add(fpaths): assert issubclass(type(fpath), os.PathLike) and \ fpath.name.endswith(f'.pkg.tar.{PKG_COMPRESSION}') dbpath = fpath.parent / f'{REPO_NAME}.db.tar.gz' - return bash(f'{REPO_CMD} {dbpath} {" ".join([str(fpath for fpath in fpaths)])}') + return bash(f'{REPO_CMD} {dbpath} {" ".join([str(fpath) for fpath in fpaths])}') def throw_away(fpath): assert issubclass(type(fpath), os.PathLike)