From c515dcefd15ecd49aa698f7ee751fa324d3ffc34 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 4 Jun 2018 23:36:41 -0400 Subject: [PATCH] Reload branch name from DB before updating --- check_update.py | 1 + 1 file changed, 1 insertion(+) diff --git a/check_update.py b/check_update.py index d30f09c46..834c0d7a2 100644 --- a/check_update.py +++ b/check_update.py @@ -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: