mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Allowed for APKs with bad names, and added Mobile C64, which is one of those
This commit is contained in:
parent
88be9b9fc4
commit
06cc795565
4 changed files with 23 additions and 2 deletions
|
|
@ -28,6 +28,7 @@ def read_metadata():
|
|||
thisinfo['id'] = metafile[9:-4]
|
||||
print "Reading metadata for " + thisinfo['id']
|
||||
thisinfo['description'] = ''
|
||||
thisinfo['name'] = None
|
||||
thisinfo['summary'] = ''
|
||||
thisinfo['license'] = 'Unknown'
|
||||
thisinfo['web'] = ''
|
||||
|
|
@ -56,6 +57,8 @@ def read_metadata():
|
|||
value = line[index+1:]
|
||||
if field == 'Description':
|
||||
mode = 1
|
||||
elif field == 'Name':
|
||||
thisinfo['name'] = value
|
||||
elif field == 'Summary':
|
||||
thisinfo['summary'] = value
|
||||
elif field == 'Source Code':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue