X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..92d5e49e4342aaa19efdc77e66d59e7c16c501bb:/src/sponsors/models.py diff --git a/src/sponsors/models.py b/src/sponsors/models.py index 0565b9744..89b06ff2c 100644 --- a/src/sponsors/models.py +++ b/src/sponsors/models.py @@ -80,7 +80,8 @@ class SponsorPage(models.Model): if self.sprite: self.sprite.delete(save=False) - self.sprite.save('sponsorzy/sprite/%s-%d.png' % (self.name, time.time()), ContentFile(imgstr.getvalue()), save=False) + self.sprite.save('sponsorzy/sprite/%s-%d.png' % ( + self.name, time.time()), ContentFile(imgstr.getvalue()), save=False) def html(self): return self._html @@ -104,4 +105,3 @@ class SponsorPage(models.Model): def __unicode__(self): return self.name -