mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Don't add empty author URLs
This commit is contained in:
parent
6bf1800a17
commit
84b8f7d459
@ -308,7 +308,7 @@ def convert_flame(flame):
|
|||||||
info['name'] = flame['name']
|
info['name'] = flame['name']
|
||||||
if 'nick' in flame:
|
if 'nick' in flame:
|
||||||
info['authors'] = [flame['nick']]
|
info['authors'] = [flame['nick']]
|
||||||
if 'url' in flame:
|
if flame.get('url'):
|
||||||
info['authors'][0] = info['authors'][0] + ', http://' + flame['url']
|
info['authors'][0] = info['authors'][0] + ', http://' + flame['url']
|
||||||
|
|
||||||
time = dict(frame_width=float(flame.get('temporal_filter_width', 1)),
|
time = dict(frame_width=float(flame.get('temporal_filter_width', 1)),
|
||||||
|
Loading…
Reference in New Issue
Block a user