CC-4726: Sometimes mm doesn't start after a fresh install

-fixed
This commit is contained in:
Martin Konecny 2012-12-03 16:56:11 -05:00
parent e3761bd8d6
commit 735ad30483

View file

@ -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) )