Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/serialize.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-12-14 04:03:14 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-12-14 04:03:14 (GMT)
commitf706c43145128d40f8c639059800fe7282abe063 (patch)
tree9be98c6f44599722a4469fd08349a9c03d23197d /serialize.py
parent24abbc6129ac8b3b24eb30aa474fe5792239c817 (diff)
46 has correct rainbow tmp directories
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/46@973 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'serialize.py')
-rw-r--r--serialize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize.py b/serialize.py
index 5ab2744..0f2f717 100644
--- a/serialize.py
+++ b/serialize.py
@@ -151,7 +151,7 @@ def fillRecdFromNode( recd, el ):
bt = el.getAttributeNode(Constants.recdBase64Thumb)
if (bt != None):
try:
- thumbPath = os.path.join(Instance.instancePath, "datastoreThumb.jpg")
+ thumbPath = os.path.join(Instance.tmpPath, "datastoreThumb.jpg")
thumbPath = utils.getUniqueFilepath( thumbPath, 0 )
thumbImg = utils.getPixbufFromString( bt.nodeValue )
thumbImg.save(thumbPath, "jpeg", {"quality":"85"} )
@@ -163,7 +163,7 @@ def fillRecdFromNode( recd, el ):
ai = el.getAttributeNode(Constants.recdAudioImage)
if (not ai == None):
try:
- audioImagePath = os.path.join(Instance.instancePath, "audioImage.png")
+ audioImagePath = os.path.join(Instance.tmpPath, "audioImage.png")
audioImagePath = utils.getUniqueFilepath( audioImagePath, 0 )
audioImage = utils.getPixbufFromString( ai.nodeValue )
audioImage.save(audioImagePath, "png", {} )