mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[WINESYNC] Allow directories to be None
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user