fix try/except
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 13 Apr 2006 13:22:34 +0000 (13:22 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 13 Apr 2006 13:22:34 +0000 (13:22 +0000)
RecordTimer.py

index eb9de6fbf790e0829bc86dca0ce6d95e637f79b9..6c942fb10720fc19525e522a793a0d24875f601f 100644 (file)
@@ -109,7 +109,7 @@ class RecordTimerEntry(timer.TimerEntry):
                                        f.write(self.description + "\n")
                                        f.write(str(self.begin) + "\n")
                                        f.close()
-                               except:
+                               except IOError:
                                        self.log(4, "failed to write meta information")
                                return True