diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 35d2551f..c02cda95 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -893,10 +893,10 @@ def fetch_real_name(app_dir): name2 = matches.group(1) if name2 is not None: return name2 + return '' - if name is not None: + else: 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.