Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/atoidejouer/tools/storage.py
diff options
context:
space:
mode:
Diffstat (limited to 'atoidejouer/tools/storage.py')
-rw-r--r--atoidejouer/tools/storage.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/atoidejouer/tools/storage.py b/atoidejouer/tools/storage.py
index 0e471cd..e96327c 100644
--- a/atoidejouer/tools/storage.py
+++ b/atoidejouer/tools/storage.py
@@ -129,6 +129,12 @@ def get_image_path(filename, dir_='graphics'):
'%s.png' % filename)
+def get_html_path(page):
+ # return path
+ return os.path.join(activity.get_bundle_path(), 'static', 'data', 'html',
+ '%s.html' % page)
+
+
def get_pixbuf_from_data(data, image_type=None, size=None):
# load it
if image_type: