yonigozlan commited on
Commit
ff8e58d
·
verified ·
1 Parent(s): aaf2310

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -213,7 +213,7 @@ class TransformersTimelineParser:
213
  pass
214
  elif (match_fallback := re.search(pattern_fallback, content)):
215
  release_date = None
216
- transformers_date = match.group(1)
217
  # Validate the Transformers date (this is the critical one for our timeline)
218
  try:
219
  datetime.strptime(transformers_date, "%Y-%m-%d")
 
213
  pass
214
  elif (match_fallback := re.search(pattern_fallback, content)):
215
  release_date = None
216
+ transformers_date = match_fallback.group(1)
217
  # Validate the Transformers date (this is the critical one for our timeline)
218
  try:
219
  datetime.strptime(transformers_date, "%Y-%m-%d")