diff --git a/fdroidserver/common.py b/fdroidserver/common.py index c525a86e..7a2c6938 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -913,6 +913,8 @@ def fetch_real_name(app_dir, flavours): logging.debug("fetch_real_name: Checking manifest at " + path) xml = parse_xml(path) app = xml.find('application') + if "{http://schemas.android.com/apk/res/android}label" not in app.attrib: + continue label = app.attrib["{http://schemas.android.com/apk/res/android}label"] result = retrieve_string(app_dir, label) if result: