From: Ciaran Gultnieks Date: Thu, 16 May 2013 08:30:08 +0000 (+0100) Subject: Fix archive repo apk names and source references properly X-Git-Tag: 0.1~603 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9bb4ef0648ea3eac977f02aab598346ed9fedc38;p=fdroidserver.git Fix archive repo apk names and source references properly --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index fff53419..1a5cd3d4 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -232,7 +232,7 @@ def scan_apks(apps, apkcache, repodir, knownapks): apks = [] for apkfile in glob.glob(os.path.join(repodir, '*.apk')): - apkfilename = apkfile[len(repodir):] + apkfilename = apkfile[len(repodir) + 1:] if apkfilename.find(' ') != -1: print "No spaces in APK filenames!" sys.exit(1)