Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tautils.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tautils.py')
-rw-r--r--TurtleArt/tautils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py
index db2ef4b..2b7b230 100644
--- a/TurtleArt/tautils.py
+++ b/TurtleArt/tautils.py
@@ -296,6 +296,7 @@ def image_to_base64(pixbuf, path_name):
file_handle = open(base64, 'r')
data = file_handle.read()
file_handle.close()
+ print 'image to base64:' + file_name
return data
@@ -308,6 +309,7 @@ def base64_to_image(data, path_name):
file_name = os.path.join(path_name, 'imagetmp.png')
cmd = "base64 -d <" + base64 + ">" + file_name
subprocess.check_call(cmd, shell=True)
+ print 'base64 to image:' + file_name
return file_name