hanhainebula commited on
Commit
026906f
·
1 Parent(s): 511bdf3

fix a bug in backend.py

Browse files
Files changed (1) hide show
  1. src/backend.py +1 -0
src/backend.py CHANGED
@@ -139,6 +139,7 @@ def pull_search_results(
139
  print("Start to pull new search results ...")
140
  while True:
141
  os.makedirs(ZIP_CACHE_DIR, exist_ok=True)
 
142
  try:
143
  API.snapshot_download(
144
  repo_id=RESULTS_REPO,
 
139
  print("Start to pull new search results ...")
140
  while True:
141
  os.makedirs(ZIP_CACHE_DIR, exist_ok=True)
142
+ os.makedirs(unzip_target_dir, exist_ok=True)
143
  try:
144
  API.snapshot_download(
145
  repo_id=RESULTS_REPO,