Skip to content

Commit

Permalink
fix: fix None type error when invoking Workflow object manually (#1366)
Browse files Browse the repository at this point in the history
* fix none-type

* fix formatting
  • Loading branch information
Hoeze committed Feb 5, 2022
1 parent 978cc93 commit fca3895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snakemake/workflow.py
Expand Up @@ -204,7 +204,9 @@ def __init__(
self.attempt = attempt
self.default_remote_provider = default_remote_provider
self.default_remote_prefix = default_remote_prefix
self.configfiles = list(overwrite_configfiles) or []
self.configfiles = (
[] if overwrite_configfiles is None else list(overwrite_configfiles)
)
self.run_local = run_local
self.report_text = None
self.conda_cleanup_pkgs = conda_cleanup_pkgs
Expand Down

0 comments on commit fca3895

Please sign in to comment.