[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-backoffice] 02/02: fix translations paths.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-backoffice] 02/02: fix translations paths. |
Date: |
Mon, 03 Sep 2018 15:32:13 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository backoffice.
commit 9c7b98a071123f8a73be2c6fe13590d88d5dc0e5
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Sep 3 15:31:48 2018 +0200
fix translations paths.
---
setup.py | 1 +
talerbackoffice/backoffice/backoffice.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/setup.py b/setup.py
index 55be455..e4f4ecf 100755
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,7 @@ setup(name='talerbackoffice',
"backoffice/static/*.js",
"backoffice/static/*.css",
"backoffice/static/*.svg",
+ "backoffice/trans_dirs.cfg",
"backoffice/templates/*.html",
"backoffice/templates/translations/it/LC_MESSAGES/messages.mo",
"backoffice/templates/translations/en/LC_MESSAGES/messages.mo",
diff --git a/talerbackoffice/backoffice/backoffice.py
b/talerbackoffice/backoffice/backoffice.py
index 206e527..5f81602 100644
--- a/talerbackoffice/backoffice/backoffice.py
+++ b/talerbackoffice/backoffice/backoffice.py
@@ -38,6 +38,7 @@ BASE_DIR = os.path.dirname(os.path.abspath(__file__))
app = flask.Flask(__name__, template_folder=BASE_DIR)
app.debug = True
app.secret_key = base64.b64encode(os.urandom(64)).decode('utf-8')
+app.config.from_pyfile("trans_dirs.cfg")
babel = Babel(app)
TC = TalerConfig.from_env()
--
To stop receiving notification emails like this one, please contact
address@hidden