Changeset b2118b7a1ab0d3b346faaa7ac3d72cb5bf23466e

Show
Ignore:
Timestamp:
11/23/10 00:32:54 (3 years ago)
Author:
Guillaume Pellerin <yomguy@…>
Children:
2a36c2ba1fc1a8385e346e2e0650356792c62cf2
Parents:
a5e96b06f88b4f7f63dcb4652ff9b45e8eec9d26
git-committer:
Guillaume Pellerin <yomguy@parisson.com> / 2010-11-22T23:32:54Z+0000
Message:

make record exception safier

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tools/recorder.py

    rb8048e2 rb2118b7  
    5050 
    5151    def write(self, chunk): 
    52         self.media.write(chunk) 
    53         self.media.flush() 
     52        try: 
     53            self.media.write(chunk) 
     54            self.media.flush() 
     55        except: 
     56            pass 
    5457 
    5558    def close(self):