From c3abe4b834586c564bf87e76902e9344e6ecddfa Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 25 Sep 2014 15:49:52 +0200 Subject: [PATCH] Bugfix for cover thumbnail generation. --- apps/catalogue/models/book.py | 2 +- fabfile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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:'), ] -- 2.20.1