diff options
Diffstat (limited to 'addons/readfile.py')
-rw-r--r-- | addons/readfile.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/addons/readfile.py b/addons/readfile.py index 4aa054e..9fe2f81 100644 --- a/addons/readfile.py +++ b/addons/readfile.py @@ -16,16 +16,17 @@ import os -from sugar.tutorius.actions import Action -from sugar.tutorius.properties import TFileProperty -from sugar.tutorius.services import ObjectStore +from ..actions import Action +from ..properties import TFileProperty +from ..services import ObjectStore class ReadFile(Action): filename = TFileProperty(None) def __init__(self, filename=None): """ - Calls activity.read_file to load a specified state + Calls activity.read_file to restore a specified state to an activity + like when restored from the journal. @param filename Path to the file to read """ Action.__init__(self) |