import: fix crash when importing from local git repo

This commit is contained in:
Hans-Christoph Steiner 2018-01-31 09:59:06 +01:00
parent 559adb207b
commit a40b79eb9d

View file

@ -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']