diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5e2a726..a9af654 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,7 +2,7 @@ Changelog ========= * 9.0.0 (in progress) * Fix files not closed in `create_thumbnail` - + * 8.0.1 * Fix Django 5.1 compatibility diff --git a/avatar/models.py b/avatar/models.py index 7ab2e89..8c5d38f 100644 --- a/avatar/models.py +++ b/avatar/models.py @@ -1,7 +1,7 @@ import binascii -from contextlib import closing import hashlib import os +from contextlib import closing from io import BytesIO from django.core.files import File diff --git a/tests/tests.py b/tests/tests.py index bcfcc1c..36579a3 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,8 +1,8 @@ import math import os.path +import sys from pathlib import Path from shutil import rmtree -import sys from unittest import skipIf from django.contrib.admin.sites import AdminSite