Fixes
This commit is contained in:
parent
12ff9b924e
commit
97db0946da
@ -62,10 +62,10 @@ for the PyQt ```app.exec``` and the exiting of the program.
|
|||||||
We've decided to use the best of the shims that merge the Python
|
We've decided to use the best of the shims that merge the Python
|
||||||
```asyncio``` and Qt event loops:
|
```asyncio``` and Qt event loops:
|
||||||
[qasyc](https://github.com/CabbageDevelopment/qasync). This is seen as
|
[qasyc](https://github.com/CabbageDevelopment/qasync). This is seen as
|
||||||
the successor to the sorta abandoned[quamash](https://github.com/harvimt/quamash).
|
the successor to the sorta abandoned [quamash](https://github.com/harvimt/quamash).
|
||||||
The code is based on a
|
The code is based on a
|
||||||
[comment](https://github.com/CabbageDevelopment/qasync/issues/35#issuecomment-1315060043)
|
[comment](https://github.com/CabbageDevelopment/qasync/issues/35#issuecomment-1315060043)
|
||||||
by [Alex Marcha](https://github.com/hosaka) who's excellent code helped me.
|
by [Alex March](https://github.com/hosaka) who's excellent code helped me.
|
||||||
As this is my first use of ```asyncio``` and ```qasync``` I may have
|
As this is my first use of ```asyncio``` and ```qasync``` I may have
|
||||||
introduced some errors and it may be improved on, but it works, and
|
introduced some errors and it may be improved on, but it works, and
|
||||||
it not a monolithic Qt program, so it can be used as a library.
|
it not a monolithic Qt program, so it can be used as a library.
|
||||||
|
@ -108,7 +108,7 @@ def omain_argparser(_=None):
|
|||||||
help="Write loaded and javascripted result to a HTML file")
|
help="Write loaded and javascripted result to a HTML file")
|
||||||
parser.add_argument('--pdf_output', type=str, default='',
|
parser.add_argument('--pdf_output', type=str, default='',
|
||||||
help="Write loaded and javascripted result to a PDF file")
|
help="Write loaded and javascripted result to a PDF file")
|
||||||
parser.add_argument('--show_gui', type=bool, default=False, store_action=True),
|
parser.add_argument('--show_gui', type=bool, default=False, store_action=True,
|
||||||
help="show a progress meter that doesn't work")
|
help="show a progress meter that doesn't work")
|
||||||
parser.add_argument('html_url', type=str, nargs='?',
|
parser.add_argument('html_url', type=str, nargs='?',
|
||||||
required=True,
|
required=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user