diff options
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r-- | nfvbench/chaining.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nfvbench/chaining.py b/nfvbench/chaining.py index fea1c12..b983efb 100644 --- a/nfvbench/chaining.py +++ b/nfvbench/chaining.py @@ -1227,6 +1227,8 @@ class ChainManager(object): # if it is a single int or mac, make it a list of 1 int if isinstance(ll, (int, str)): ll = [ll] + else: + ll = list(ll) for item in ll: if not re.match(pattern, str(item)): raise ChainException("Invalid format '{item}' specified in {fname}" |