From 93987eac171e8ca7985d196cc68c6ca8731cb68b Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sun, 16 Mar 2014 22:34:13 +0000 Subject: [PATCH] Correction to 6b309aff --- fdroidserver/common.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 98d2752f..9d698773 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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