Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/recordtube.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-11-03 09:25:46 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-11-03 09:25:46 (GMT)
commit5fac40a159dbfcaa79e855569e00dfe4a5362fe8 (patch)
treeabc9a06f7daf80cc7000f80cb52f650f5072eb55 /recordtube.py
parent919ea9cda79a40d06850faf728840a222217d5cd (diff)
woo hoo 2
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@864 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'recordtube.py')
-rw-r--r--recordtube.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/recordtube.py b/recordtube.py
index fe45b3d..6460b7d 100644
--- a/recordtube.py
+++ b/recordtube.py
@@ -78,7 +78,10 @@ class RecordTube(ExportedGObject):
for chunk in range(chunks):
bytes = f.read(chunk_size)
- record.Record.log.debug("sending " + str(chunk+1) + " of " + str(chunks) + " to " + sendThisTo )
+ if (chunk == 0):
+ record.Record.log.debug("sending " + str(chunk+1) + " of " + str(chunks) + " to " + sendThisTo )
+ if (chunk == chunks-1):
+ record.Record.log.debug("sending " + str(chunk+1) + " of " + str(chunks) + " to " + sendThisTo )
self.broadcastRecdBits(md5, chunk+1, chunks, bytes, sendThisTo, Instance.keyHashPrintable)
f.close()