Restart after resetting git install

This commit is contained in:
JonnyWong16 2020-03-06 15:26:26 -08:00
parent 42e33a0468
commit 8d67cc4c5a
5 changed files with 18 additions and 13 deletions

View file

@ -328,7 +328,7 @@ def update():
return
def reset():
def reset_git_install():
if plexpy.INSTALL_TYPE == 'git':
logger.info('Attempting to reset git install to "%s/%s"' % (plexpy.CONFIG.GIT_REMOTE, plexpy.CONFIG.GIT_BRANCH))
output, err = runGit('remote set-url {} https://github.com/{}/{}.git'.format(plexpy.CONFIG.GIT_REMOTE,