upping the coverage

This commit is contained in:
Ilan Steemers
2015-07-07 20:20:28 +02:00
parent b05fe76fbc
commit 4ee47fc38f
4 changed files with 7 additions and 7 deletions
+2 -4
View File
@@ -46,10 +46,8 @@ class Conf(object):
LABEL = conf.get('label', 'Django Q')
# Use the secret key for package signing
try:
SECRET_KEY = settings.SECRET_KEY
except AttributeError:
SECRET_KEY = 'omgicantbelieveudonthaveasecretkey'
# Django itself should raise an error if it's not configured
SECRET_KEY = settings.SECRET_KEY
# The redis list key
Q_LIST = 'django_q:{}:q'.format(PREFIX)