1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

[import] Fix crash when no Gradle subdir is found

This commit is contained in:
FestplattenSchnitzel 2022-05-26 19:56:50 +02:00
parent fa14a0005d
commit 5951a6c2b1

View File

@ -194,6 +194,9 @@ def main():
elif subdir:
build.subdir = subdir.as_posix()
build.gradle = ['yes']
else:
# subdir might be None
subdir = Path()
if options.license:
app.License = options.license