Skip to content

Commit

Permalink
Small fix for other github
Browse files Browse the repository at this point in the history
  • Loading branch information
HobbitDur committed Oct 25, 2024
1 parent 61290ba commit 9e569bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __get_github_url_file(self, mod: Mod, json_url="assets_url"):
dd_url = ""
if mod.info['git_tag'] == 'latest':
for el in json_file:
if el['tag_name'] != "canary" and el['tag_name'] != "prerelease" and el['tag_name'].count('.') >=2:
if el['tag_name'] != "canary" and el['tag_name'] != "prerelease" and el['tag_name'].count('.') >=1:
dd_url =el[json_url]
break
else: # Searching the tag
Expand Down

0 comments on commit 9e569bb

Please sign in to comment.