mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-12 17:03:59 +08:00
Reload branch name from DB before updating
This commit is contained in:
parent
85939c4cbf
commit
c515dcefd1
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ def gitconfig():
|
|||
|
||||
def check_and_apply_update():
|
||||
gitconfig()
|
||||
branch = get_general_settings()[5]
|
||||
g = git.cmd.Git(current_working_directory)
|
||||
result = g.diff('--shortstat', 'origin/' + branch)
|
||||
if len(result) == 0:
|
||||
|
|
Loading…
Reference in a new issue