diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-11-01 02:43:25 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-11-01 02:43:25 (GMT) |
commit | 60de94772bdbef66de5a6299178f27a7a9207d91 (patch) | |
tree | bed1ecf930f875e2e0a08995648d61608bcb9223 /model.py | |
parent | 501d44e836450762d8858d1cde665d8b7fb8566c (diff) |
clipboard refactoring
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@804 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'model.py')
-rw-r--r-- | model.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -177,11 +177,11 @@ class Model: self.ca.glive.stopRecordingAudio( ) - def saveAudio( self, tempPath, pixbuf ): + def saveAudio( self, tmpPath, pixbuf ): self.setUpdating( True ) recd = self.createNewRecorded( Constants.TYPE_AUDIO ) - os.rename( tempPath, os.path.join(Instance.tmpPath,recd.mediaFilename)) + os.rename( tmpPath, os.path.join(Instance.tmpPath,recd.mediaFilename)) thumbPath = os.path.join(Instance.tmpPath, recd.thumbFilename) scale = float((UI.THUMBWIDTH+0.0)/(pixbuf.get_width()+0.0)) @@ -242,9 +242,9 @@ class Model: self.ca.ui.updateVideoComponents() - def saveVideo( self, pixbuf, tempPath, wid, hit ): + def saveVideo( self, pixbuf, tmpPath, wid, hit ): recd = self.createNewRecorded( Constants.TYPE_VIDEO ) - os.rename( tempPath, os.path.join(Instance.tmpPath,recd.mediaFilename)) + os.rename( tmpPath, os.path.join(Instance.tmpPath,recd.mediaFilename)) thumbPath = os.path.join(Instance.tmpPath, recd.thumbFilename) scale = float((UI.THUMB_WIDTH+0.0)/(wid+0.0)) |