diff --git a/run.py b/run.py index 8be9cfebaa1fae428c5de0cf42e674226e27a8ac..b9256c268722b5250dac604c8843340ced11dd75 100755 --- a/run.py +++ b/run.py @@ -102,6 +102,9 @@ def get_modes(running_config): if not modes: raise ValueError("yaml mast have config: mode") + if isinstance(modes, str): + modes = [modes] + return modes