mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
Later: Use open() instead of file().
This commit is contained in:
parent
0b49c7312f
commit
1be1ddb386
@ -68,7 +68,7 @@ class Later(callbacks.Plugin):
|
||||
|
||||
def _openNotes(self):
|
||||
try:
|
||||
fd = file(self.filename)
|
||||
fd = open(self.filename)
|
||||
except EnvironmentError, e:
|
||||
self.log.warning('Couldn\'t open %s: %s', self.filename, e)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user