Couple of TAB characters slipped through the net!

(ignoring the TABs in the HTML heredoc for now)
This commit is contained in:
Andrew Scheller 2015-11-16 15:06:06 +00:00
parent 5d1d8329be
commit 78ece477d6
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ def load_overlay(overlay):
details = []
if 'type' not in loaded:
loaded['type'] = 'addon'
loaded['type'] = 'addon'
if 'manufacturer' in loaded:
details.append('* ' + strings['made_by'].format(manufacturer=loaded['manufacturer']))
@ -97,7 +97,7 @@ def load_overlay(overlay):
details.append('* [{text}]({url})'.format(text=strings['buy_now'], url=loaded['buy']))
if loaded['type'] != 'info':
loaded['long_description'] = '{}\n{}'.format(loaded['long_description'], markdown.markdown('\n'.join(details)))
loaded['long_description'] = '{}\n{}'.format(loaded['long_description'], markdown.markdown('\n'.join(details)))
if 'page_url' not in loaded:
loaded['page_url'] = slugify(loaded['name'])