diff options
author | James Simmons <jim@olpc2.simmons> | 2010-03-06 15:49:15 (GMT) |
---|---|---|
committer | James Simmons <jim@olpc2.simmons> | 2010-03-06 15:49:15 (GMT) |
commit | ec1b8d2ddeb67a8513cfefc39e441a3490968c61 (patch) | |
tree | 5a2b781582dc95460f1062c02e2d86665e9f3495 /readtoolbar.py | |
parent | 11c41c78dda80fa6ecb1a2ca4601c46cf19bf85c (diff) |
Fix bugs found by pychecker
Diffstat (limited to 'readtoolbar.py')
-rw-r--r-- | readtoolbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readtoolbar.py b/readtoolbar.py index 749bc7b..77141c8 100644 --- a/readtoolbar.py +++ b/readtoolbar.py @@ -457,7 +457,7 @@ class SpeechToolbar(gtk.Toolbar): try: f.write(str(speech.pitch)) finally: - f.close + f.close() def rate_adjusted_cb(self, get): speech.rate = int(get.value) @@ -466,7 +466,7 @@ class SpeechToolbar(gtk.Toolbar): try: f.write(str(speech.rate)) finally: - f.close + f.close() def set_activity(self, activity): self.activity = activity |