mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-08 08:33:45 +01:00
Fix crash in get_latest_tag due to missing tuple
This commit is contained in:
parent
4364ce5d6f
commit
f07f2803f8
@ -115,7 +115,7 @@ def get_latest_tag(git_url):
|
||||
refs = repo.git.ls_remote(tags=True, sort="creatordate").split('\n')
|
||||
refs = [ref for ref in refs if ref.strip() != ""]
|
||||
if len(refs) == 0:
|
||||
return None
|
||||
return None, None
|
||||
|
||||
last_ref = refs[-1]
|
||||
hash_ref_list = last_ref.split('\t')
|
||||
|
Loading…
Reference in New Issue
Block a user