Pclanglais commited on
Commit
f4adb15
·
verified ·
1 Parent(s): dec19a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def create_bibtex_entry(data):
89
  match_year = re.search(r'\b(\d{4})\b', data['year'])
90
 
91
  if match_year:
92
- data['year'] = match.group(1)
93
  year = data['year']
94
  else:
95
  data.pop('year', '')
 
89
  match_year = re.search(r'\b(\d{4})\b', data['year'])
90
 
91
  if match_year:
92
+ data['year'] = match_year.group(1)
93
  year = data['year']
94
  else:
95
  data.pop('year', '')