diff options
Diffstat (limited to 'dotbot/cli.py')
-rw-r--r-- | dotbot/cli.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dotbot/cli.py b/dotbot/cli.py index fffc017..dc90909 100644 --- a/dotbot/cli.py +++ b/dotbot/cli.py @@ -35,6 +35,8 @@ def main(): if (options.verbose): log.set_level(Level.DEBUG) tasks = read_config(options.config_file[0]) + if not isinstance(tasks, list): + raise ReadingError('Configuration file must be a list of tasks') dispatcher = Dispatcher(options.base_directory[0]) success = dispatcher.dispatch(tasks) if success: |