Fixed broken import
This commit is contained in:
parent
ccfc1a663d
commit
4a0bbb23bb
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user