Pendrokar commited on
Commit
23a5c8d
·
verified ·
1 Parent(s): 188a21d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def greet(lojban):
16
  #return camxes_ilmen.parse(lojban)
17
  text, node = camxes.match(lojban, parser, None, minimal_transformer, True)
18
 
19
- if text.trim() == '':
20
  text = '[NOT PARSEABLE]'
21
 
22
  return text
 
16
  #return camxes_ilmen.parse(lojban)
17
  text, node = camxes.match(lojban, parser, None, minimal_transformer, True)
18
 
19
+ if text is None:
20
  text = '[NOT PARSEABLE]'
21
 
22
  return text