aboutsummaryrefslogtreecommitdiff
path: root/budget/run.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-06-28 21:36:02 +0200
committerGitHub <noreply@github.com>2017-06-28 21:36:02 +0200
commit0e374cd5e0ef5a9be67084365f91de2ab84f636c (patch)
treed6b512090f6cadb9369596af666ef1bf198b63b7 /budget/run.py
parent603ac10d6eb485c9a95f253a14d4967f4aafbfa3 (diff)
downloadihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.zip
ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.tar.gz
ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.tar.bz2
Make all imports relative (#229)
* Make all imports relative * Change the way the application runs in the Makefile * Import the default settings relatively * Fix manage.py imports
Diffstat (limited to 'budget/run.py')
-rw-r--r--budget/run.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/budget/run.py b/budget/run.py
index 7fe4e24..5e65c90 100644
--- a/budget/run.py
+++ b/budget/run.py
@@ -7,12 +7,12 @@ from flask_babel import Babel
from flask_migrate import Migrate, upgrade, stamp
from raven.contrib.flask import Sentry
-from web import main, db, mail
-from api import api
-from utils import PrefixedWSGI
-from utils import minimal_round
+from .web import main, db, mail
+from .api import api
+from .utils import PrefixedWSGI
+from .utils import minimal_round
-import default_settings
+from . import default_settings
app = Flask(__name__, instance_path='/etc/ihatemoney', instance_relative_config=True)