diff --git a/extra/modules/quota.py b/extra/modules/quota.py index 0bb38d7..d6cd47a 100644 --- a/extra/modules/quota.py +++ b/extra/modules/quota.py @@ -103,7 +103,7 @@ def is_expired(): if not t: return False try: - expiration_date = datetime.strptime(t, '%Y-%m-%dT%H:%M:%S.%f') + expiration_date = datetime.strptime(t, '%Y-%m-%dT%H:%M:%S') except ValueError: return False return expiration_date < datetime.now()