mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
This should once and for all correct issue #328
This commit is contained in:
parent
f42644bad7
commit
cffc39e5a0
2 changed files with 19 additions and 23 deletions
|
@ -81,19 +81,13 @@ class CheckVersion():
|
|||
|
||||
class UpdateManager():
|
||||
def get_github_repo_user(self):
|
||||
repo_user = 'clinton-hall'
|
||||
if nzbtomedia.GIT_USER:
|
||||
repo_user = nzbtomedia.GIT_USER
|
||||
return repo_user
|
||||
return nzbtomedia.GIT_USER
|
||||
|
||||
def get_github_repo(self):
|
||||
return 'nzbToMedia'
|
||||
return nzbtomedia.GIT_REPO
|
||||
|
||||
def get_github_branch(self):
|
||||
git_branch = 'dev'
|
||||
if nzbtomedia.GIT_BRANCH:
|
||||
git_branch = nzbtomedia.GIT_BRANCH
|
||||
return git_branch
|
||||
return nzbtomedia.GIT_BRANCH
|
||||
|
||||
class GitUpdateManager(UpdateManager):
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue