deweesa / Leaguerboard

Small flask project for collecting League of Legends stats for me and my friends
0 stars 0 forks source link

Merging __init__.py changes into the deployment branch #30

Closed deweesa closed 3 years ago

deweesa commented 3 years ago

Now the init.py has been changed so that it is flagged when being ran on heroku, and is able to change the dialect in the database uri dynamically.

deweesa commented 3 years ago

Now we shouldn't crash when spinning up the dyno on heroku because of db dialect issues. This could be an issue in the future if/when heroku changes the name for the postgres dialect.