diff --git a/builder/download-depends.py b/builder/download-depends.py index fa48740..52c10c2 100644 --- a/builder/download-depends.py +++ b/builder/download-depends.py @@ -58,6 +58,8 @@ def resolve_depends(repository, pkgbase, result, key='depends'): status = Status.objects.get(key=pkgbase) except: raise Exception(f'Cannot find {pkgbase} in the database.') + + status.timestamp = status.timestamp.replace(tzinfo=None) if datetime.now() - status.timestamp > timedelta(days=1): pacman_packages.append(f'{config["pacman"]["repository"]}/{pkgname}')