diff options
author | hut <hut@lavabit.com> | 2009-12-06 12:31:33 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-12-06 12:31:33 +0100 |
commit | 465bff736d234e57efb2e9232df8882f3fd3a5cb (patch) | |
tree | c36725fc98a1e63bfdbe694a96c71cb28d3708f4 /ranger/bookmark.py | |
parent | 4162b636289f065b056e180389456d9f30ee796c (diff) | |
download | ranger-465bff736d234e57efb2e9232df8882f3fd3a5cb.tar.gz |
changing implementation of options
Diffstat (limited to 'ranger/bookmark.py')
-rw-r--r-- | ranger/bookmark.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/bookmark.py b/ranger/bookmark.py index 4b931292..da54e8eb 100644 --- a/ranger/bookmark.py +++ b/ranger/bookmark.py @@ -37,7 +37,10 @@ class Bookmarks(object): def get_mtime(self): import os - return os.stat(self.path).st_mtime + try: + return os.stat(self.path).st_mtime + except OSError: + return None def load(self): try: |