Reorder git pull command for update

This commit is contained in:
JonnyWong16 2020-03-29 10:28:42 -07:00
parent 04765288d7
commit e4ec24be26

View file

@ -251,7 +251,7 @@ def update():
logger.info('Windows .exe updating not supported yet.')
elif plexpy.INSTALL_TYPE == 'git':
output, err = runGit('pull {} {} --ff-only'.format(plexpy.CONFIG.GIT_REMOTE,
output, err = runGit('pull --ff-only {} {}'.format(plexpy.CONFIG.GIT_REMOTE,
plexpy.CONFIG.GIT_BRANCH))
if not output: