mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
fix typing for filename in gui_main (is optional)
This commit is contained in:
parent
e76132a2f0
commit
dcc0b269cd
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue