tolerate empty (None) userNam in tracks
This commit is contained in:
parent
343faaa603
commit
dc5f579511
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class BaseTrackView(TrackView):
|
||||||
return self.authentication.getPrincipal(uid).title or uid
|
return self.authentication.getPrincipal(uid).title or uid
|
||||||
except PrincipalLookupError:
|
except PrincipalLookupError:
|
||||||
return uid
|
return uid
|
||||||
return self.user.title
|
return self.user and self.user.title or u''
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def userUrl(self):
|
def userUrl(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue