aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/run.py')
-rw-r--r--ihatemoney/run.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ihatemoney/run.py b/ihatemoney/run.py
index 15e295b..0f32dfb 100644
--- a/ihatemoney/run.py
+++ b/ihatemoney/run.py
@@ -27,8 +27,7 @@ def setup_database(app):
"""Prepare the database. Create tables, run migrations etc."""
def _pre_alembic_db():
- """ Checks if we are migrating from a pre-alembic ihatemoney
- """
+ """Checks if we are migrating from a pre-alembic ihatemoney"""
con = db.engine.connect()
tables_exist = db.engine.dialect.has_table(con, "project")
alembic_setup = db.engine.dialect.has_table(con, "alembic_version")
@@ -58,7 +57,7 @@ def setup_database(app):
def load_configuration(app, configuration=None):
- """ Find the right configuration file for the application and load it.
+ """Find the right configuration file for the application and load it.
By order of preference:
- Use the IHATEMONEY_SETTINGS_FILE_PATH env var if defined ;