Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/record.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2008-01-21 06:57:56 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2008-01-21 06:57:56 (GMT)
commit8b457cc86a396a1d9ffd9524aa22fc3ffc80de1f (patch)
treeb54a7de1dfe291cfb36ae2be4a7e9a877181b2d0 /record.py
parent121ccc9cbda6c33666d6dd99cce9054811c4ffed (diff)
51 final (?)
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/51@1019 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'record.py')
-rwxr-xr-xrecord.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/record.py b/record.py
index 8c10940..e8bd67a 100755
--- a/record.py
+++ b/record.py
@@ -108,7 +108,6 @@ class Record(activity.Activity):
if ( (not recd.savedMedia) or (not recd.savedXml) ):
allDone = False
- self.__log__.error("somehow we didn't serialize a recd...")
if (self.I_AM_CLOSING):
mediaObject = recd.datastoreOb
@@ -450,7 +449,9 @@ class Record(activity.Activity):
recd.meshDownlodingPercent = (part+0.0)/(numparts+0.0)
recd.meshDownloadingProgress = True
self.ui.updateMeshProgress(True, recd)
- f = open(recd.getMediaFilepath(), 'a+').write(bytes)
+ f = open(recd.getMediaFilepath(), 'a+')
+ f.write(bytes)
+ f.close()
if part == numparts:
self.__class__.log.debug('Finished receiving %s' % recd.title)
@@ -487,7 +488,6 @@ class Record(activity.Activity):
def _getAlbumArtCb( self, objectThatSentTheSignal, pixbuf, recd ):
- self.__class__.log.debug("_getAlbumArtCb:" + str(pixbuf) + "," + str(recd))
if (pixbuf != None):
imagePath = os.path.join(Instance.instancePath, "audioPicture.png")