From: Ciaran Gultnieks Date: Sun, 16 Mar 2014 22:34:13 +0000 (+0000) Subject: Correction to 6b309aff X-Git-Tag: 0.2~189 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=93987eac171e8ca7985d196cc68c6ca8731cb68b;p=fdroidserver.git Correction to 6b309aff --- 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