aboutsummaryrefslogtreecommitdiff
path: root/app/dock-manual.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-27 21:13:31 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-27 21:13:45 +0530
commit7cd8d4accc933c7e6a4e4091f5d6e052d1af4c42 (patch)
treec06b3c75b15aa6b2a04c911be8fc60ccc4429c58 /app/dock-manual.py
parent0ec82db13f2247602fb898a8ca857052d6196fa6 (diff)
fixed to work with launchd
Diffstat (limited to 'app/dock-manual.py')
-rw-r--r--app/dock-manual.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/dock-manual.py b/app/dock-manual.py
index 2d69294..eb11b6a 100644
--- a/app/dock-manual.py
+++ b/app/dock-manual.py
@@ -94,9 +94,9 @@ with tempfile.TemporaryDirectory() as directory:
arch = os.popen("uname -m").read()
print("Generating 3D Model")
if "x86" in arch:
- os.system("docker run -it --rm -v $(pwd):/usr/app leon/usd-from-gltf:latest model.gltf model.usdz")
+ os.system("docker run --rm -v $(pwd):/usr/app leon/usd-from-gltf:latest model.gltf model.usdz")
elif "aarch64" in arch:
- os.system("docker run -it --rm -v $(pwd):/usr/app navanchauhan/usd-from-gltf:latest model.gltf model.usdz")
+ os.system("docker run --rm -v $(pwd):/usr/app navanchauhan/usd-from-gltf:latest model.gltf model.usdz")
try:
copyfile("model.usdz",os.path.join(modelDirectory,(str(jobID)+".usdz")))
except FileNotFoundError: