fix: flake8

This commit is contained in:
winkidney
2024-10-04 22:25:11 +08:00
parent a1d0c6142f
commit 005c027350

View File

@@ -33,7 +33,6 @@ class ImageManager(models.Manager):
fp.seek(0)
return True
# FIXME: Move this into an asynchronous task
def create_for_url(self, url, referer=None):
file_name = url.split("/")[-1].split('#')[0].split('?')[0]