diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-11-01 03:17:48 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-11-01 03:17:48 (GMT) |
commit | ed9816923b3ae870107a6b300a2d23254df62e84 (patch) | |
tree | aadece91399064b36de9a15ec0d830a6abfe9e00 /recorded.py | |
parent | c8325e510da4b33ccfd630f7745570f739fc5491 (diff) |
wrong class for utils for getStringFromPixbuf
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@811 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'recorded.py')
-rw-r--r-- | recorded.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recorded.py b/recorded.py index 4d03822..6f98df8 100644 --- a/recorded.py +++ b/recorded.py @@ -111,7 +111,7 @@ class Recorded: print("RecordActivity error -- unable to get datastore object in getThumbPixbuf") return None - return self.pixbufFromString( self.datastoreOb.metadata['preview'] ) + return utils.getPixbufFromString( self.datastoreOb.metadata['preview'] ) def getThumbFilepath( self ): @@ -129,7 +129,7 @@ class Recorded: print("RecordActivity error -- unable to get datastore object in getThumbPixbuf") return None - img = self.pixbufFromString( self.datastoreOb.metadata['preview'] ) + img = utils.getPixbufFromString( self.datastoreOb.metadata['preview'] ) thumbFilepath = os.path.join( Instance.tmpPath, "thumb.png") thumbFilepath = utils.getUniqueFilepath(thumbFilepath, 0) img.save(thumbFilepath, "png", {} ) |