mirror of
https://github.com/morpheus65535/bazarr.git
synced 2026-04-25 16:48:20 -04:00
Reload branch name from DB before updating
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user