Updated for logging

This commit is contained in:
Dimitris Zlatanidis 2023-04-27 13:32:23 +03:00
parent da8b78bfb2
commit 3542fd8374

View file

@ -110,6 +110,11 @@ class CheckUpdates(Configs):
repo_size: int = int(repo.headers['Content-Length'])
logger = logging.getLogger(__name__)
logger.info('%s: %s: %s:', self.__class__.__name__,
self.__class__.compare_dates.__name__,
f'{local_chg_txt}={local_size}, {repo_chg_txt}={repo_size}')
return local_size != repo_size
def view_message(self) -> None: