Use bu.rebase_file_args() instead of inline code

This commit is contained in:
Jylpah committed 2020-07-10 12:16:15 +03:00
1 parent ead9d1cad9
commit 4e991b6900
2 files changed
+9 -7

No files matched your search

+2 -4
View File
@@ -92,10 +92,8 @@ async def main(argv):
try:
queue = asyncio.Queue()
files = list()
for fn in args.files:
files.append(os.path.join(current_dir, fn))
args.files = files
# rebase file arguments due to moving the working directory to the script location
args.files = bu.rebase_file_args(current_dir, args.files)
tasks = []
# Make replay Queue