Skip to content
Browse files

fix __sort_files_by_date()

  • Loading branch information...
1 parent dfb3f3f commit ef9f63b82a9641c7f3bb11238e38a96039e1e722 @dersphere committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 addon.py
View
2 addon.py
@@ -162,7 +162,7 @@ def __get_logs(self):
'path': log_crash})
return found_logs
- def __sort_files_by_date(path, files):
+ def __sort_files_by_date(self, path, files):
files.sort(key=lambda f: os.path.getmtime(os.path.join(path, f)))
return files

0 comments on commit ef9f63b

Please sign in to comment.
Something went wrong with that request. Please try again.