diff --git a/fdroidserver/import.py b/fdroidserver/import.py index 0b615fc8..d524632b 100644 --- a/fdroidserver/import.py +++ b/fdroidserver/import.py @@ -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