diff --git a/fdroidserver/common.py b/fdroidserver/common.py index c02cda95..380e43de 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -872,7 +872,7 @@ def fetch_real_name(app_dir): if not app_found: if app_search(line): app_found = True - else: + if app_found: if name is not None: break matches = name_search(line)