From: Radek Czajka Date: Thu, 25 Sep 2014 13:49:52 +0000 (+0200) Subject: Bugfix for cover thumbnail generation. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/c3abe4b834586c564bf87e76902e9344e6ecddfa?hp=4c0b1c26b2e4789b194f34c907c822c55f04af3c Bugfix for cover thumbnail generation. --- diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index 3c32481f9..3da9f0695 100644 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -30,7 +30,7 @@ def _cover_upload_to(i, n): return 'book/cover/%s.jpg' % i.slug def _cover_thumb_upload_to(i, n): - return 'book/cover_thumb/%s.jpg' % i.slug, + return 'book/cover_thumb/%s.jpg' % i.slug def _ebook_upload_to(upload_path): def _upload_to(i, n): diff --git a/fabfile.py b/fabfile.py index 5030e0522..77652e1ee 100644 --- a/fabfile.py +++ b/fabfile.py @@ -14,7 +14,7 @@ def production(): env.user = 'lektury' env.app_path = '/srv/wolnelektury.pl' env.services = [ - DebianGunicorn('wolnelektury'), + Supervisord('wolnelektury.gunicorn'), Supervisord('celery.wolnelektury:'), ]