Update app.py

This commit is contained in:
Saifeddine ALOUI 2023-11-30 09:26:14 +01:00 committed by GitHub
parent c8bab11450
commit 910525358f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.py
View File

@ -116,7 +116,7 @@ try:
# Check if the local branch is behind the remote branch
is_behind = repo.is_ancestor(local_commit, remote_commit) and local_commit!= remote_commit
ASCIIColors.yellow(f"update availability: {not is_behind}")
ASCIIColors.yellow(f"update availability: {is_behind}")
# Return True if the local branch is behind the remote branch
return is_behind