Skip to content

Commit 16101ae

Browse files
committed
Fix get_or_eror
1 parent 27ea8bf commit 16101ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pynest/nest/server/hl_api_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ def get_modules_from_env():
436436
def get_or_error(func):
437437
"""Wrapper to get data and status."""
438438

439-
def func_wrapper(call, args, kwargs):
439+
def func_wrapper(call, *args, **kwargs):
440440
try:
441-
return func(call, args, kwargs)
441+
return func(call, *args, **kwargs)
442442

443443
except NESTError as err:
444444
error_class = err.errorname + " (NESTError)"

0 commit comments

Comments
 (0)