fixed a error when running interactively
@@ -485,6 +485,7 @@ def gather_sources_and_dependencies(globs):
gather_sources = source_discovery_strategies[SETTINGS['DISCOVER_SOURCES']]
sources = gather_sources(globs, experiment_path)
+ if main is not None:
sources.add(main)
gather_dependencies = dependency_discovery_strategies[
