fix: [updater] return boolean

This commit is contained in:
Terrtia 2020-05-22 15:49:06 +02:00
parent 5a221cd996
commit f9ebe26354
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -57,7 +57,11 @@ def repo_is_fork():
return False return False
elif 'origin {}'.format(OLD_AIL_REPO) in res: elif 'origin {}'.format(OLD_AIL_REPO) in res:
print(' old AIL repository, Updating remote origin...') 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: else:
print(' This repository is a {}fork{}'.format(TERMINAL_BLUE, TERMINAL_DEFAULT)) print(' This repository is a {}fork{}'.format(TERMINAL_BLUE, TERMINAL_DEFAULT))
print() print()