bazarr/check_update.py

8 lines
141 B
Python
Raw Normal View History

2017-10-28 02:18:16 +00:00
from get_general_settings import *
import git
g = git.cmd.Git(os.path.dirname(__file__))
2017-10-28 02:22:04 +00:00
g.pull('origin ' + branch + ' --dry-run')
2017-10-28 02:18:16 +00:00
print g