Skip to content

Commit

Permalink
[gems.appimage] fix: github URL checking
Browse files Browse the repository at this point in the history
  • Loading branch information
vinifmor committed Jan 10, 2024
1 parent 8170a52 commit e2686e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bauh/gems/appimage/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, name: str = None, description: str = None, repository: str =
installed=installed)
self.source = source

github_url = f"https://github.com/{github}" if github and not github.startswith("http://") else None
github_url = f"https://github.com/{github}" if github and not github.startswith("https://") else None
self.repository = repository if repository else (github_url if github_url else repository)
self.categories = (categories.split(',') if isinstance(categories, str) else categories) if categories else None
self.url_download = url_download
Expand Down

0 comments on commit e2686e3

Please sign in to comment.