From b04b92c505eb951ee6e534bd2390ccf44b490cb0 Mon Sep 17 00:00:00 2001 From: Dystopian Date: Mon, 24 May 2021 00:55:30 +0300 Subject: [PATCH] Fix make after hemtt pack (#8264) --- tools/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make.py b/tools/make.py index 27c10529d7..08a0cac553 100644 --- a/tools/make.py +++ b/tools/make.py @@ -366,7 +366,7 @@ def copy_important_files(source_dir,destination_dir): def copy_optionals_for_building(mod,pbos): - src_directories = os.listdir(optionals_root) + src_directories = next(os.walk(optionals_root))[1] current_dir = os.getcwd() print_blue("\nChecking optionals folder...")