1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-21 04:10:37 +02: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'
for apk in apks:
if apk['packageName'] == packageName and apk.get(
'apkName', ''
).lower().endswith('.ipa'):
last4 = apk.get('apkName', '').lower()[-4:]
if apk['packageName'] == packageName and last4 == '.ipa':
v = {
"version": apk["versionName"],
"date": apk["added"].isoformat(),