re-type commited on
Commit
a3d5400
·
verified ·
1 Parent(s): 5a2a5c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -547,7 +547,7 @@ async def analyze_file(
547
  try:
548
  os.unlink(temp_file_path)
549
  except Exception as cleanup_error: # FIXED: Use different variable name
550
- logger.warning(f"Failed to clean up {temp_file_path}: cleanup_error}")
551
 
552
  @app.get("/download/{file_type}/{query_id}")
553
  async def download_file(file_type: str, query_id: str):
 
547
  try:
548
  os.unlink(temp_file_path)
549
  except Exception as cleanup_error: # FIXED: Use different variable name
550
+ logger.warning(f"Failed to clean up {temp_file_path}: {cleanup_error}")
551
 
552
  @app.get("/download/{file_type}/{query_id}")
553
  async def download_file(file_type: str, query_id: str):