diff --git a/soil/__init__.py b/soil/__init__.py index ce6ab7a..4dde0e7 100644 --- a/soil/__init__.py +++ b/soil/__init__.py @@ -2,7 +2,7 @@ import importlib import sys import os -__version__ = "0.9.2" +__version__ = "0.9.3" try: basestring diff --git a/soil/environment.py b/soil/environment.py index 927063c..3317cf6 100644 --- a/soil/environment.py +++ b/soil/environment.py @@ -183,8 +183,8 @@ class SoilEnvironment(nxsim.NetworkEnvironment): if lastvisible: spells.append((laststep, None)) if spells: - G.add_node(agent.id, attributes, spells=spells) + G.add_node(agent.id, **attributes, spells=spells) else: - G.add_node(agent.id, attributes) + G.add_node(agent.id, **attributes) return G