starfriend commited on
Commit
fdfd40b
·
verified ·
1 Parent(s): b64cdea

Upload app.py

Browse files
Files changed (1) hide show
  1. metadata_search/app.py +1 -1
metadata_search/app.py CHANGED
@@ -135,7 +135,7 @@ def test_summary():
135
  text = load_summary(file_name)
136
 
137
  # If normal resolution fails, expose the exact cloud lookup attempt.
138
- year_match = re.search(r"\\s-\\s(\\d{4})\\s-\\s", file_name)
139
  year = year_match.group(1) if year_match else None
140
  repo_id = os.getenv(
141
  "WATERSCOPE_DATASET_REPO",
 
135
  text = load_summary(file_name)
136
 
137
  # If normal resolution fails, expose the exact cloud lookup attempt.
138
+ year_match = re.search(r"\s-\s(\d{4})\s-\s", file_name)
139
  year = year_match.group(1) if year_match else None
140
  repo_id = os.getenv(
141
  "WATERSCOPE_DATASET_REPO",