]> git.lyx.org Git - features.git/commit
Fix call os lyx2lyx as a module.
authorJosé Matos <jamatos@lyx.org>
Sat, 13 May 2017 12:39:02 +0000 (13:39 +0100)
committerJosé Matos <jamatos@lyx.org>
Sat, 13 May 2017 12:39:02 +0000 (13:39 +0100)
commit99cf71f8ebdaaaf1001963b8f52df91fa6733199
treecb0ad80059129ee35171a9b6d78d8cced66d88a0
parent6138880c0845a9eb6e5b9bfee107e4ee4210cd95
Fix call os lyx2lyx as a module.

If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.
lib/scripts/layout2layout.py