Skip to content
Permalink
Browse files
fix: fix None type error when invoking Workflow object manually (#1366)
* fix none-type

* fix formatting
  • Loading branch information
Hoeze committed Feb 5, 2022
1 parent 978cc93 commit fca3895430c206fc159e71622ee567f77566980d
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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

0 comments on commit fca3895

Please sign in to comment.