From e70a9c5e9e9d4763d09d71941206cea22ad8c047 Mon Sep 17 00:00:00 2001 From: EmmanuelMr18 Date: Sun, 7 Jul 2024 18:52:21 -0600 Subject: [PATCH] Revert "fix(image upload): skip when using the CD_BYPASS_UPLOAD env var" This reverts commit 384eda63e6fec6977db3f9e9ba655e0db0719578. --- custom_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_routes.py b/custom_routes.py index bc7a6a2..6030027 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -991,7 +991,7 @@ async def update_run_with_output(prompt_id, data, node_id=None): "output_data": data } - if bypass_upload == False: + if not bypass_upload: try: have_upload = 'images' in data or 'files' in data or 'gifs' in data or 'mesh' in data print("\nhave_upload", have_upload, node_id)