From a40b79eb9de7df126e237a5a6314b9a97b979eab Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 31 Jan 2018 09:59:06 +0100 Subject: [PATCH] import: fix crash when importing from local git repo --- fdroidserver/import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/import.py b/fdroidserver/import.py index 550e7469..77f4db95 100644 --- a/fdroidserver/import.py +++ b/fdroidserver/import.py @@ -231,7 +231,7 @@ def main(): app.AutoName = os.path.basename(os.getcwd()) app.RepoType = 'git' - build = {} + build = metadata.Build() root_dir = get_subdir(os.getcwd()) if os.path.exists('build.gradle'): build.gradle = ['yes'] -- 2.30.2