ai selfplay, black 120

This commit is contained in:
Sander Land committed 2020-05-30 23:33:10 +02:00
1 parent 06cc316326
commit 9c6d521a88
16 files changed
+566 -134

No files matched your search

+3 -1
View File
@@ -58,7 +58,9 @@ if platform == "win":
def last_modified_first(files, filesystem):
return sorted(f for f in files if filesystem.is_dir(f)) + sorted([f for f in files if not filesystem.is_dir(f)], key=lambda f: -getmtime(f))
return sorted(f for f in files if filesystem.is_dir(f)) + sorted(
[f for f in files if not filesystem.is_dir(f)], key=lambda f: -getmtime(f)
)
def get_home_directory():