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)