mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-05 06:22:14 +08:00
Adding update process
This commit is contained in:
parent
1729ad5343
commit
127f724a64
1 changed files with 8 additions and 0 deletions
8
update.py
Normal file
8
update.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
from get_general_settings import *
|
||||||
|
|
||||||
|
import git
|
||||||
|
|
||||||
|
g = git.cmd.Git(os.path.dirname(__file__))
|
||||||
|
print g.pull('--dry-run', 'origin', branch)
|
||||||
|
|
||||||
|
print g
|
Loading…
Reference in a new issue