From f9ebe26354c5361cb3ce1e10d819a6b296ac14a5 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Fri, 22 May 2020 15:49:06 +0200 Subject: [PATCH] fix: [updater] return boolean --- bin/Update.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/Update.py b/bin/Update.py index d949c208..49d9c5aa 100755 --- a/bin/Update.py +++ b/bin/Update.py @@ -57,7 +57,11 @@ def repo_is_fork(): return False elif 'origin {}'.format(OLD_AIL_REPO) in res: print(' old AIL repository, Updating remote origin...') - git_status.set_default_remote(AIL_REPO, verbose=False) + res = git_status.set_default_remote(AIL_REPO, verbose=False) + if res: + return False + else: + return True else: print(' This repository is a {}fork{}'.format(TERMINAL_BLUE, TERMINAL_DEFAULT)) print()