mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[WINESYNC] Allow directories to be None
This commit is contained in:
parent
5472c3e853
commit
4b5a555161
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ class wine_sync:
|
||||||
# root files should have a direct mapping
|
# root files should have a direct mapping
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
if self.module_cfg['directories'] is None:
|
||||||
|
return None
|
||||||
|
|
||||||
wine_dir, wine_file = os.path.split(wine_path)
|
wine_dir, wine_file = os.path.split(wine_path)
|
||||||
if wine_dir in self.module_cfg['directories']:
|
if wine_dir in self.module_cfg['directories']:
|
||||||
# we have a mapping for the directory
|
# we have a mapping for the directory
|
||||||
|
|
Loading…
Reference in a new issue