Skip to content

Commit 66e0f62

Browse files
committed
handle ignore_path_list default None
1 parent a731de3 commit 66e0f62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dash/dash.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,9 @@ def _walk_assets_directory(self):
14751475
ignore_path_list = self.config.assets_path_ignore
14761476
ignore_filter = re.compile(ignore_str) if ignore_str else None
14771477
ignore_path_filters = [
1478-
re.compile(ignore_path) for ignore_path in ignore_path_list if ignore_path
1478+
re.compile(ignore_path)
1479+
for ignore_path in (ignore_path_list or [])
1480+
if ignore_path
14791481
]
14801482

14811483
for current, _, files in sorted(os.walk(walk_dir)):

0 commit comments

Comments
 (0)