Skip to content

Commit

Permalink
support same arguments as when calling loader directly
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 2, 2024
1 parent d491e16 commit 99d8f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def do_run_mode(script_file:str, cmdline, error_cb, options, args, mode:str, def
return run_autostart(script_file, args)
if mode=="encoding":
from xpra.codecs import loader
return loader.main(args)
return loader.main([script_file] + args)
if mode in ("applications-menu", "sessions-menu"):
from xpra.server.menu_provider import MenuProvider
if mode=="applications-menu":
Expand Down

0 comments on commit 99d8f73

Please sign in to comment.