Skip to content

Commit

Permalink
Fix/output correct deck names when using folder as input (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
wlckd authored Jul 21, 2023
1 parent d5e15d1 commit 9fa23d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/fsrs4anki_optimizer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def remembered_fallback_prompt(key: str, pretty: str = None):
files = [f for f in os.listdir(args.filename) if f.lower().endswith('.apkg')]
files = [os.path.join(args.filename, f) for f in files]
for file_path in files:
args.filename = file_path
process(file_path)
else:
process(args.filename)
Expand Down

0 comments on commit 9fa23d1

Please sign in to comment.