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:
parent
d00a87ed6c
commit
9716b5e1ab
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user