CC-4726: Sometimes mm doesn't start after a fresh install
-fixed
This commit is contained in:
parent
e3761bd8d6
commit
735ad30483
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ def walk_supported(directory, clean_empties=False):
|
|||
that support the extensions we are considering. When clean_empties
|
||||
is True we recursively delete empty directories left over in
|
||||
directory after the walk. """
|
||||
if directory is None:
|
||||
return
|
||||
|
||||
for root, dirs, files in os.walk(directory):
|
||||
full_paths = ( os.path.join(root, name) for name in files
|
||||
if is_file_supported(name) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue