fix: [updater] return boolean

pull/519/head
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
1 changed files with 5 additions and 1 deletions

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()