fix typing for filename in gui_main (is optional)

This commit is contained in:
deeplow 2022-07-21 17:24:11 +01:00
parent e76132a2f0
commit dcc0b269cd
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -47,7 +47,7 @@ class ApplicationWrapper(QtCore.QObject):
@click.command()
@click.argument("filename", required=False)
def gui_main(filename: str) -> bool:
def gui_main(filename: Optional[str]) -> bool:
setup_logging()
if platform.system() == "Darwin":