Commit 22e1be952c8d05875948e3f682ff940fc5fe4394

Authored by Austin Blanton
1 parent a2bcb179

Fix tuple/list type mismatch

Showing 1 changed file with 1 additions and 1 deletions
scripts/brpy/__init__.py
... ... @@ -27,7 +27,7 @@ def _var_string_args_func(func, n, *args):
27 27 '''
28 28 def call_func(one, two, *rest):
29 29 arr_type = c_char_p*len(two)
30   - func.argtypes = [c_int, arr_type] + _string_args(n) + args
  30 + func.argtypes = [c_int, arr_type] + _string_args(n) + list(args)
31 31 arr = arr_type(*map(c_char_p, two))
32 32 return func(one, arr, *rest)
33 33 return call_func
... ...