diff options
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/macostools.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py index 5b94ee2..8822ab8 100644 --- a/Mac/Lib/macostools.py +++ b/Mac/Lib/macostools.py @@ -71,7 +71,10 @@ def touched(dst): now = time.time() if now == moddate: now = now + 1 - dir_fss.SetDates(crdate, now, bkdate) + try: + dir_fss.SetDates(crdate, now, bkdate) + except macfs.error: + pass def touched_ae(dst): """Tell the finder a file has changed""" |