Later: Use open() instead of file().

This commit is contained in:
Valentin Lorentz 2012-08-04 20:20:14 +02:00
parent 0b49c7312f
commit 1be1ddb386

View File

@ -68,7 +68,7 @@ class Later(callbacks.Plugin):
def _openNotes(self): def _openNotes(self):
try: try:
fd = file(self.filename) fd = open(self.filename)
except EnvironmentError, e: except EnvironmentError, e:
self.log.warning('Couldn\'t open %s: %s', self.filename, e) self.log.warning('Couldn\'t open %s: %s', self.filename, e)
return return