updats
Browse files
main.py
CHANGED
@@ -92,13 +92,15 @@ def verify_image(fileUpload: UploadFile):
|
|
92 |
# )
|
93 |
|
94 |
#call steg sign script
|
95 |
-
subprocess.check_output(
|
96 |
[
|
97 |
"./scripts/sign.sh",
|
98 |
fileUpload.filename,
|
99 |
]
|
100 |
)
|
101 |
|
|
|
|
|
102 |
return {"response": fileUpload.filename}
|
103 |
|
104 |
@app.post("/sign")
|
|
|
92 |
# )
|
93 |
|
94 |
#call steg sign script
|
95 |
+
response = subprocess.check_output(
|
96 |
[
|
97 |
"./scripts/sign.sh",
|
98 |
fileUpload.filename,
|
99 |
]
|
100 |
)
|
101 |
|
102 |
+
logging.warning(response)
|
103 |
+
|
104 |
return {"response": fileUpload.filename}
|
105 |
|
106 |
@app.post("/sign")
|