mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
import: fix crash when importing from local git repo
This commit is contained in:
parent
559adb207b
commit
a40b79eb9d
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ def main():
|
||||||
app.AutoName = os.path.basename(os.getcwd())
|
app.AutoName = os.path.basename(os.getcwd())
|
||||||
app.RepoType = 'git'
|
app.RepoType = 'git'
|
||||||
|
|
||||||
build = {}
|
build = metadata.Build()
|
||||||
root_dir = get_subdir(os.getcwd())
|
root_dir = get_subdir(os.getcwd())
|
||||||
if os.path.exists('build.gradle'):
|
if os.path.exists('build.gradle'):
|
||||||
build.gradle = ['yes']
|
build.gradle = ['yes']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue