- print(f'DEBUG checking if {mtime} < {limit} ({now} - {age})')
- if datetime.strptime(mtime, '%Y-%m-%d %H:%M:%S.%f') < limit:
- print('DEBUG it is, adding!')
+ # print(f'DEBUG checking if {mtime} < {limit} ({now} - {age})')
+ if len(mtime) < 20:
+ mtime_test = mtime + '.000000'
+ else:
+ mtime_test = mtime
+ if datetime.strptime(mtime_test, '%Y-%m-%d %H:%M:%S.%f') < limit:
+ # print('DEBUG it is, adding!')