Commit b99a4f76 authored by RnDMonkey's avatar RnDMonkey
Browse files

fixed expression error in condition

parent eba0c29d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ class Script(scripts.Script):
        ys = process_axis(y_opt, y_values)

        def fix_axis_seeds(axis_opt, axis_list):
            if axis_opt.label == 'Seed' or 'Var. seed':
            if axis_opt.label in ["Seed","Var. seed"]:
                return [int(random.randrange(4294967294)) if val is None or val == '' or val == -1 else val for val in axis_list]
            else:
                return axis_list