mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
real name can't be None
This commit is contained in:
parent
a452cdb704
commit
ed64737678
1 changed files with 5 additions and 2 deletions
|
@ -885,9 +885,12 @@ def fetch_real_name(app_dir):
|
|||
matches = string_search(line)
|
||||
if matches:
|
||||
name2 = matches.group(1)
|
||||
if name2 is not None:
|
||||
return name2
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue