Fixed broken import

This commit is contained in:
Sybren A. Stüvel 2016-06-08 11:21:15 +02:00
parent ccfc1a663d
commit 4a0bbb23bb

View File

@ -487,7 +487,7 @@ def subscribe_node_owners():
"""Automatically subscribe node owners to notifications for items created """Automatically subscribe node owners to notifications for items created
in the past. in the past.
""" """
from application import after_inserting_nodes from application.modules.nodes import after_inserting_nodes
nodes_collection = app.data.driver.db['nodes'] nodes_collection = app.data.driver.db['nodes']
for n in nodes_collection.find(): for n in nodes_collection.find():
if 'parent' in n: if 'parent' in n: