diff --git a/oml/nodes.py b/oml/nodes.py index eca5978..9a2b975 100644 --- a/oml/nodes.py +++ b/oml/nodes.py @@ -262,6 +262,8 @@ class Node(Thread): }) def pullChanges(self): + if state.activity and state.activity.get('activity') == 'import': + return with db.session(): u = user.models.User.get_or_create(self.user_id) if not self.online or not u.peered: