asahi417 commited on
Commit
b8413a4
1 Parent(s): f632cf5
Files changed (1) hide show
  1. fetch_dataset_s2s.py +1 -1
fetch_dataset_s2s.py CHANGED
@@ -56,7 +56,7 @@ def wget(url: str, output_file: Optional[str] = None):
56
  timeout=int(60 * 5) # seconds (if it takes more than 5 min, skip it)
57
  )
58
  except Exception:
59
- if not os.path.exists(output_file):
60
  os.remove(output_file)
61
  return False
62
  if not os.path.exists(output_file):
 
56
  timeout=int(60 * 5) # seconds (if it takes more than 5 min, skip it)
57
  )
58
  except Exception:
59
+ if os.path.exists(output_file):
60
  os.remove(output_file)
61
  return False
62
  if not os.path.exists(output_file):