mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Correction to 6b309aff
This commit is contained in:
parent
6b309aff41
commit
93987eac17
1 changed files with 4 additions and 1 deletions
|
@ -646,7 +646,10 @@ def fetch_real_name(app_dir, flavour):
|
|||
if matches:
|
||||
stringname = matches.group(1)
|
||||
logging.debug("fetch_real_name: using string " + stringname)
|
||||
return retrieve_string(app_dir, stringname).strip()
|
||||
result = retrieve_string(app_dir, stringname)
|
||||
if result:
|
||||
result = result.strip()
|
||||
return result
|
||||
return None
|
||||
|
||||
# Retrieve the version name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue