From f749d4ecf1b7ad6c0370dbf97e3f9cc9b872fc11 Mon Sep 17 00:00:00 2001 From: Interitio Date: Thu, 8 Jan 2026 23:56:53 +1000 Subject: [PATCH] Correctly support multiple input files --- src/beanify/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/beanify/main.py b/src/beanify/main.py index 7f5bf51..1d8ebe4 100644 --- a/src/beanify/main.py +++ b/src/beanify/main.py @@ -84,7 +84,7 @@ parser.add_argument( parser.add_argument( dest="ingest", help="File(s) to ingest (must be in the correct format for the selected converter).", - action="append", + nargs="*", ) parser.add_argument( "--rules", @@ -211,8 +211,9 @@ async def main(): batch_mode_process(config, converter, ruleset, args.ingest) else: # GUI mode + theme = config["beanify"].get("theme") or "clam" window = MainWindow( - config, converter, ruleset, initial_files=args.ingest, theme="clam" + config, converter, ruleset, initial_files=args.ingest, theme=theme ) window.mainloop()