aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-10 13:49:05 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-10 13:49:05 +0200
commit1fcf0e677b691f7c07189a7757ae79668dc0ec41 (patch)
treeb4c74c887e18f3746d97174eb26c439d69e45b96 /src
parentNow useless function. (diff)
downloadnewspipe-1fcf0e677b691f7c07189a7757ae79668dc0ec41.tar.gz
newspipe-1fcf0e677b691f7c07189a7757ae79668dc0ec41.tar.bz2
newspipe-1fcf0e677b691f7c07189a7757ae79668dc0ec41.zip
Moved notifications module.
Diffstat (limited to 'src')
-rw-r--r--src/notifications/emails.py (renamed from src/web/emails.py)0
-rw-r--r--src/notifications/notifications.py (renamed from src/web/notifications.py)2
-rw-r--r--src/web/views/session_mgmt.py2
-rw-r--r--src/web/views/user.py3
4 files changed, 4 insertions, 3 deletions
diff --git a/src/web/emails.py b/src/notifications/emails.py
index 5fb5ce01..5fb5ce01 100644
--- a/src/web/emails.py
+++ b/src/notifications/emails.py
diff --git a/src/web/notifications.py b/src/notifications/notifications.py
index f10cff73..86486074 100644
--- a/src/web/notifications.py
+++ b/src/notifications/notifications.py
@@ -22,7 +22,7 @@
import datetime
from flask import render_template
import conf
-from web import emails
+from notifications import emails
from web.lib.user_utils import generate_confirmation_token
diff --git a/src/web/views/session_mgmt.py b/src/web/views/session_mgmt.py
index dc80516a..a3ef8e3c 100644
--- a/src/web/views/session_mgmt.py
+++ b/src/web/views/session_mgmt.py
@@ -16,7 +16,7 @@ import conf
from web.views.common import admin_role, api_role, login_user_bundle
from web.controllers import UserController
from web.forms import SignupForm, SigninForm
-from web import notifications
+from notifications import notifications
Principal(current_app)
# Create a permission with a single Need, in this case a RoleNeed.
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 1ce16ade..8568439f 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -6,7 +6,8 @@ from flask.ext.babel import gettext
from flask.ext.login import login_required, current_user
import conf
-from web import utils, notifications
+from notifications import notifications
+from web import utils
from web.lib.user_utils import confirm_token
from web.controllers import (UserController, FeedController, ArticleController,
CategoryController)
bgstack15