mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Fix --custom-container option
This commit is contained in:
parent
4c7bde09c7
commit
cdc29ee8dd
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ def gui_main(custom_container, filename):
|
|||
|
||||
if custom_container:
|
||||
# Do we have this container?
|
||||
with global_common.exec_dangerzone_container(["ls", custom_container]) as p:
|
||||
with global_common.exec_dangerzone_container(
|
||||
["ls", "--container-name", custom_container]
|
||||
) as p:
|
||||
stdout_data, stderr_data = p.communicate()
|
||||
|
||||
# The user canceled, or permission denied
|
||||
|
|
Loading…
Reference in a new issue