Add support for Litecoin in the server

This commit is contained in:
Daniel Martí 2013-10-13 00:03:11 +02:00
parent 1b291a58d7
commit 47cad8fca7
3 changed files with 15 additions and 1 deletions

View file

@ -482,6 +482,7 @@ def parse_metadata(metafile, **kw):
thisinfo['Donate'] = None
thisinfo['FlattrID'] = None
thisinfo['Bitcoin'] = None
thisinfo['Litecoin'] = None
thisinfo['Disabled'] = None
thisinfo['AntiFeatures'] = None
thisinfo['Update Check Mode'] = 'None'
@ -624,6 +625,8 @@ def write_metadata(dest, app):
writefield('FlattrID')
if app['Bitcoin']:
writefield('Bitcoin')
if app['Litecoin']:
writefield('Litecoin')
mf.write('\n')
if app['Name']:
writefield('Name')