Skip to content

Commit

Permalink
fixed configuration for analytics page
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyphantom committed Nov 27, 2018
1 parent f1c1681 commit 564fcfa
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@
password = os.getenv('MYSQL_PASSWORD')
database = os.getenv('MYSQL_DATABASE')

conn = pymysql.connect(user=user,
password=password,
database=database,
port=int(3306),
host=host,
ssl = {'ssl': {'ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}})
conn = pymysql.connect(
host=host,
port=int(3306),
user=user,
passwd=password,
db=database)

# conn = pymysql.connect(user=user,
# password=password,
# database=database,
# port=int(3306),
# host=host,
# ssl = {'ssl': {'ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}})

# create the configuration class
class Config():
Expand Down

0 comments on commit 564fcfa

Please sign in to comment.