mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
[import] Fix crash when no Gradle subdir is found
This commit is contained in:
parent
fa14a0005d
commit
5951a6c2b1
1 changed files with 3 additions and 0 deletions
|
|
@ -194,6 +194,9 @@ def main():
|
||||||
elif subdir:
|
elif subdir:
|
||||||
build.subdir = subdir.as_posix()
|
build.subdir = subdir.as_posix()
|
||||||
build.gradle = ['yes']
|
build.gradle = ['yes']
|
||||||
|
else:
|
||||||
|
# subdir might be None
|
||||||
|
subdir = Path()
|
||||||
|
|
||||||
if options.license:
|
if options.license:
|
||||||
app.License = options.license
|
app.License = options.license
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue