Archived
1
0
Fork 0
This commit is contained in:
Lukas Winkler 2017-08-06 11:42:02 +02:00
parent 64b851f3a1
commit cd782db91c
2 changed files with 9 additions and 0 deletions

View file

@ -1,8 +1,16 @@
import pymysql.cursors
from raven import Client
import config
import parser
if not config.DEBUG:
client = Client(
dsn=config.sentry_url,
processors=(
'raven.processors.SanitizePasswordsProcessor',
)
)
# Connect to the database
connection = pymysql.connect(host=config.db["host"],
user=config.db["user"],

View file

@ -10,6 +10,7 @@ itsdangerous==0.24
Jinja2==2.9.6
MarkupSafe==1.0
PyMySQL==0.7.11
raven==6.1.0
requests==2.18.3
SQLAlchemy==1.1.13
urllib3==1.22