Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/recorded.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-10-27 17:22:05 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-10-27 17:22:05 (GMT)
commit77b4ca2c47efeacd3f39f8ee560d4d90fc4e0a06 (patch)
treeaf0f0b118c8f2b9282f6213e38db3d732a83edc1 /recorded.py
parent40327a96899d3936b769ef7048a0a5e1e94c291f (diff)
fixes to getMediaFilepath for non meshReq'd
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@754 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'recorded.py')
-rw-r--r--recorded.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/recorded.py b/recorded.py
index 7c8a0a2..22bfe34 100644
--- a/recorded.py
+++ b/recorded.py
@@ -183,9 +183,11 @@ class Recorded:
recdPath = os.path.join(self.ca.tempPath, "recdFile_"+self.mediaMd5+"."+ext)
recdPath = self.ca.m.getUniqueFilepath(recdPath, 0)
self.mediaFilename = os.path.basename(recdPath)
- return self.mediaFilename
+ mediaFilepath = os.path.join(self.ca.tempPath, self.mediaFilename)
+ return os.path.abspath(mediaFilepath)
else:
- return self.mediaFilename
+ mediaFilepath = os.path.join(self.ca.tempPath, self.mediaFilename)
+ return os.path.abspath(mediaFilepath)
else: #pulling from the datastore, regardless of who took it, cause we got it
#first, get the datastoreObject and hold the reference in this Recorded instance