From 61f1fbb4982cc6094237b5d610e82844315ed5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Tue, 7 Nov 2017 10:15:13 -0500 Subject: [PATCH] Update test --- check_update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check_update.py b/check_update.py index 5efe71e75..f14412f6e 100644 --- a/check_update.py +++ b/check_update.py @@ -5,7 +5,10 @@ import subprocess def check_and_apply_update(): result = subprocess.check_output(["git", "pull", '--dry-run', 'origin', branch], stderr=subprocess.STDOUT).split('\n') + print result if result[2] is not '': subprocess.check_output(["git", "pull", 'origin', branch]) os.execlp('python', 'python ' + os.path.join(os.path.dirname(__file__), 'bazarr.py')) + +check_and_apply_update()