From 6e0e227d8e5ccee9f33727d02e47a47ff8d3dab9 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 19 Feb 2024 10:22:17 +0100 Subject: resolve path to ./get correctly when symlinked --- bulk-audio/bulk-audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bulk-audio/bulk-audio.py b/bulk-audio/bulk-audio.py index 536f146..c0b8055 100755 --- a/bulk-audio/bulk-audio.py +++ b/bulk-audio/bulk-audio.py @@ -162,7 +162,7 @@ def main(): # run ./get to get audio data from stdout # returns (exit_code, stdout_data) def get(kanji, kana, source_list): - args = [Path(__file__).parent.joinpath("get")] + args = [Path(__file__).resolve().parent.joinpath("get")] if source_list != None: args.append("-s") args.append(source_list) -- cgit v1.2.3