1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-10 17:30:11 +01:00

index: manual black format

This commit is contained in:
Hans-Christoph Steiner 2024-04-24 10:29:50 +02:00
parent d00a87ed6c
commit 9716b5e1ab

View File

@ -1825,9 +1825,8 @@ def make_altstore(apps, apks, config, repodir, pretty=False):
# populate 'versions' # populate 'versions'
for apk in apks: for apk in apks:
if apk['packageName'] == packageName and apk.get( last4 = apk.get('apkName', '').lower()[-4:]
'apkName', '' if apk['packageName'] == packageName and last4 == '.ipa':
).lower().endswith('.ipa'):
v = { v = {
"version": apk["versionName"], "version": apk["versionName"],
"date": apk["added"].isoformat(), "date": apk["added"].isoformat(),