diff --git a/batchoar.py b/batchoar.py
index 4c79986f795cc61ffd85a32760febb045a2d50f8..6b52d35d8ff56706c2250070feacedcc935f3fcc 100755
--- a/batchoar.py
+++ b/batchoar.py
@@ -56,7 +56,7 @@ def load_variables(yaml_variables):
         variable_names.append(name)
         variables.append(values)
 
-    return variable_names, itertools.product(*variables)
+    return variable_names, list(itertools.product(*variables))
 
 
 def load_flags(yaml_flags, args):