aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/run.py')
-rw-r--r--ihatemoney/run.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ihatemoney/run.py b/ihatemoney/run.py
index c4b5323..b6c8cbb 100644
--- a/ihatemoney/run.py
+++ b/ihatemoney/run.py
@@ -10,6 +10,7 @@ from werkzeug.middleware.proxy_fix import ProxyFix
from ihatemoney import default_settings
from ihatemoney.api.v1 import api as apiv1
+from ihatemoney.currency_convertor import CurrencyConverter
from ihatemoney.models import db
from ihatemoney.utils import (
IhmJSONEncoder,
@@ -137,6 +138,9 @@ def create_app(
# Configure the a, root="main"pplication
setup_database(app)
+ # Setup Currency Cache
+ CurrencyConverter()
+
mail = Mail()
mail.init_app(app)
app.mail = mail