open external urls in browser
This commit is contained in:
parent
a400afc923
commit
13e360ac97
2 changed files with 14 additions and 0 deletions
|
|
@ -531,6 +531,9 @@ class File(db.Model):
|
|||
j = self.item.json()
|
||||
|
||||
current_path = self.fullpath()
|
||||
if not os.path.exists(current_path):
|
||||
logger.debug('file is missing. %s', current_path)
|
||||
return
|
||||
author = '; '.join([ox.canonical_name(a) for a in j.get('author', [])])
|
||||
if not author:
|
||||
author = 'Unknown Author'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue