diff options
-rw-r--r-- | src/jarabe/model/shell.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jarabe/model/shell.py b/src/jarabe/model/shell.py index 6078b3c..a8fbfce 100644 --- a/src/jarabe/model/shell.py +++ b/src/jarabe/model/shell.py @@ -608,7 +608,10 @@ class ShellModel(GObject.GObject): current_timestamp = time.time() # 1. On filesystem. - os.utime(bundle_path, (os.stat(bundle_path).st_mtime, current_timestamp)) + try: + os.utime(bundle_path, (os.stat(bundle_path).st_mtime, current_timestamp)) + except: + pass # 2. On the activities-list. from jarabe.desktop.homewindow import get_instance |