Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/tutorius/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/tutorius/core.py')
-rw-r--r--src/sugar/tutorius/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/tutorius/core.py b/src/sugar/tutorius/core.py
index 602947f..dd2435e 100644
--- a/src/sugar/tutorius/core.py
+++ b/src/sugar/tutorius/core.py
@@ -123,7 +123,7 @@ class State(object):
with associated actions that point to a possible next state.
"""
- def __init__(self, name, action_list=None, event_filter_list=None, tutorial=None):
+ def __init__(self, name="", action_list=None, event_filter_list=None, tutorial=None):
"""
Initializes the content of the state, like loading the actions
that are required and building the correct tests.
@@ -525,4 +525,4 @@ class FiniteStateMachine(State):
out_string = ""
for st in self._states.itervalues():
out_string += st.name + ", "
- return out_string \ No newline at end of file
+ return out_string