mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Also pass common into launch_docker_windows function
This commit is contained in:
parent
81627379f6
commit
65121ed729
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ def main(filename):
|
|||
|
||||
if not is_docker_ready(common):
|
||||
print("Docker is not running")
|
||||
launch_docker_windows()
|
||||
launch_docker_windows(common)
|
||||
|
||||
# Wait up to 20 minutes for docker to be ready
|
||||
for i in range(120):
|
||||
|
|
|
@ -38,7 +38,7 @@ def is_docker_ready(common):
|
|||
return False
|
||||
|
||||
|
||||
def launch_docker_windows():
|
||||
def launch_docker_windows(common):
|
||||
docker_desktop_path = "C:\\Program Files\\Docker\\Docker\\Docker Desktop.exe"
|
||||
subprocess.Popen(
|
||||
[docker_desktop_path], startupinfo=common.get_subprocess_startupinfo()
|
||||
|
|
Loading…
Reference in a new issue