prevent traceback. Fixes #8936
This commit is contained in:
parent
612b7b4302
commit
a884ba6762
|
@ -431,10 +431,8 @@ def get_uf_sub(sub):
|
|||
uf_sub = _('From')
|
||||
elif sub == 'both':
|
||||
uf_sub = _('Both')
|
||||
elif sub is None:
|
||||
uf_sub = _('Unknown')
|
||||
else:
|
||||
uf_sub = sub
|
||||
uf_sub = _('Unknown')
|
||||
|
||||
return uf_sub
|
||||
|
||||
|
|
Loading…
Reference in New Issue