https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4b5a555161d01102db86f230548e6ec37c757813

commit 4b5a555161d01102db86f230548e6ec37c757813
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Mon Jan 9 22:07:53 2023 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Sat Aug 19 23:50:52 2023 +0300

    [WINESYNC] Allow directories to be None
---
 sdk/tools/winesync/winesync.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sdk/tools/winesync/winesync.py b/sdk/tools/winesync/winesync.py
index 8547ee97306..cdee060db52 100644
--- a/sdk/tools/winesync/winesync.py
+++ b/sdk/tools/winesync/winesync.py
@@ -100,6 +100,9 @@ class wine_sync:
             # root files should have a direct mapping
             return None
 
+        if self.module_cfg['directories'] is None:
+            return None
+
         wine_dir, wine_file = os.path.split(wine_path)
         if wine_dir in self.module_cfg['directories']:
             # we have a mapping for the directory

Reply via email to