diff options
Diffstat (limited to 'taexporthtml.py')
-rw-r--r-- | taexporthtml.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/taexporthtml.py b/taexporthtml.py index f3f7fbb..7fa0748 100644 --- a/taexporthtml.py +++ b/taexporthtml.py @@ -33,8 +33,9 @@ def save_html(self, tw, embed_flag=True): datapath = os.path.join(activity.get_activity_root(), "instance") except: # early versions of Sugar (656) didn't support get_activity_root() - datapath = \ - "/home/olpc/.sugar/default/org.laptop.TurtleArtActivity/instance" + datapath = os.path.join( \ + os.environ['HOME'], \ + ".sugar/default/org.laptop.TurtleArtActivity/instance") # dictionary defines the html wrappers around template elements # start of block, end of block |