Skip to content

Commit f746769

Browse files
authored
fixed default for data_source_folders (#33)
1 parent e789b63 commit f746769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎markdownextradata/plugin.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def on_pre_build(self, config, **kwargs):
5151
# Does nothing if the dir does not exist.
5252

5353
# assume an empty list if not defined
54-
data_source_folders = self.config.get("data")
54+
data_source_folders = self.config.get("data", {})
5555
# cast as a list if is defined but is a string
5656
if isinstance(data_source_folders, str):
5757
data_source_folders = data_source_folders.split(',')

0 commit comments

Comments
 (0)