mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
Undo accidental tweak of platform_args
This commit is contained in:
parent
8eefbefa1a
commit
4fd233e72b
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import platform
|
||||
import subprocess
|
||||
import pipes
|
||||
import shutil
|
||||
|
@ -53,8 +52,7 @@ def convert(
|
|||
|
||||
platform_args: list[str] = []
|
||||
if dzutil.CONTAINER_COMMAND == "docker":
|
||||
if platform.machine() in ("i386", "AMD64", "x86_64"):
|
||||
platform_args += ["--platform", "linux/amd64"]
|
||||
platform_args += ["--platform", "linux/amd64"]
|
||||
else:
|
||||
platform_args = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue