aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/mass-pnf-sim.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/mass-pnf-sim/mass-pnf-sim.py')
-rwxr-xr-xtest/mocks/mass-pnf-sim/mass-pnf-sim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocks/mass-pnf-sim/mass-pnf-sim.py b/test/mocks/mass-pnf-sim/mass-pnf-sim.py
index fe6062637..ce8cd73a6 100755
--- a/test/mocks/mass-pnf-sim/mass-pnf-sim.py
+++ b/test/mocks/mass-pnf-sim/mass-pnf-sim.py
@@ -18,7 +18,7 @@ if __name__ == '__main__':
MassPnfSim.log_lvl = log_lvl
if args.subcommand is not None:
- sim_routine = getattr(MassPnfSim(args), args.subcommand)
- sim_routine()
+ sim_routine = getattr(MassPnfSim(), args.subcommand)
+ sim_routine(args)
else:
parser.print_usage()