Skip to content

Commit 2c3de2e

Browse files
committed
Settings error for TravisCI solved
1 parent 896ed94 commit 2c3de2e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

biojs/settings.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@
2323
SECRET_KEY = '$&&+$xz)50khd6q+aq&95r1$2urmmdv37=-*lu3v-wwh46829t'
2424

2525
# SECURITY WARNING: don't run with debug turned on in production!
26-
from config import *
27-
DEBUG = DEBUG
26+
try:
27+
from config import *
28+
DEBUG = DEBUG
29+
except:
30+
DEGUB = True
2831

2932
ALLOWED_HOSTS = ['*']
3033

0 commit comments

Comments
 (0)