mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
real name can't be None
This commit is contained in:
parent
a452cdb704
commit
ed64737678
@ -885,9 +885,12 @@ def fetch_real_name(app_dir):
|
||||
matches = string_search(line)
|
||||
if matches:
|
||||
name2 = matches.group(1)
|
||||
return name2
|
||||
if name2 is not None:
|
||||
return name2
|
||||
|
||||
return name
|
||||
if name is not None:
|
||||
return name
|
||||
return ''
|
||||
|
||||
# Extract some information from the AndroidManifest.xml at the given path.
|
||||
# Returns (version, vercode, package), any or all of which might be None.
|
||||
|
Loading…
Reference in New Issue
Block a user