cools commited on
Commit
bf32d09
·
1 Parent(s): 539fa1a

Update Parser.py

Browse files
Files changed (1) hide show
  1. Parser.py +1 -1
Parser.py CHANGED
@@ -179,7 +179,7 @@ class Case:
179
 
180
  def get_date(self):
181
  print("Extracting Date")
182
- if self.pre.body_text is None:
183
  print(self.paginated_dict)
184
  doc = nlp(self.pre.body_text[0:2000])
185
  sents = list(doc.sents)
 
179
 
180
  def get_date(self):
181
  print("Extracting Date")
182
+ if self.pre is None:
183
  print(self.paginated_dict)
184
  doc = nlp(self.pre.body_text[0:2000])
185
  sents = list(doc.sents)