bazarr/update.py

9 lines
144 B
Python

from get_general_settings import *
import git
g = git.cmd.Git(os.path.dirname(__file__))
print g.pull('--dry-run', 'origin', branch)
print g