refactor: update target_files to use absolute path instead of basename in zhconv.py

This commit is contained in:
tigerenwork 2026-04-11 21:10:02 +08:00
parent 287d2e1a0c
commit 7ff2e94059
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def main():
if os.path.isfile(input_arg):
target_dir = os.path.dirname(input_arg)
target_files = [os.path.basename(input_arg)]
target_files = [input_arg]
elif os.path.isdir(input_arg):
target_dir = input_arg
target_files = None