diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-19 10:22:17 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-19 10:22:17 +0100 |
commit | 6e0e227d8e5ccee9f33727d02e47a47ff8d3dab9 (patch) | |
tree | 04f14cc3d8b7725857af95e92e730913b48f6a8f | |
parent | fb91107a4118433e091988e1c04581b113b469db (diff) |
resolve path to ./get correctly when symlinked
-rwxr-xr-x | bulk-audio/bulk-audio.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |