mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
PluginDownloader: Change default branch from master to HEAD
Many people are renaming their default branches from master to main or something else (I just renamed mine). Using HEAD works no matter what the default branch is named.
This commit is contained in:
parent
a003eff7a5
commit
911f875c1f
@ -57,7 +57,7 @@ class GitRepository(VersionnedRepository):
|
||||
pass
|
||||
|
||||
class GithubRepository(GitRepository):
|
||||
def __init__(self, username, reponame, path='/', branch='master'):
|
||||
def __init__(self, username, reponame, path='/', branch='HEAD'):
|
||||
self._username = username
|
||||
self._reponame = reponame
|
||||
self._branch = branch
|
||||
|
Loading…
Reference in New Issue
Block a user