AttributeError: st_birthtime - Traceback when new file exists on PC but not server
clach04 opened this issue · 0 comments
clach04 commented
New file on non-Mac client causes error, extract of traceback below:
File "notes.py", line 123, in gen_meta
nf_meta['createdate'] = os.stat(path + "/" + filename).st_birthtime
AttributeError: 'os.stat_result' object has no attribute 'st_birthtime'
Other use of that attribute has protection.
I have an idea to refactor both use. Patch pending...