Browse Source

cmd_dialplan: removed dupplicated pass context

Daniel-Constantin Mierla 6 năm trước cách đây
mục cha
commit
ce7d4aa896
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      kamcli/commands/cmd_dialplan.py

+ 0 - 1
kamcli/commands/cmd_dialplan.py

@@ -32,7 +32,6 @@ def cli(ctx):
 @click.argument('matchexp', metavar='<matchexp>')
 @click.argument('substrepl', nargs=-1, metavar='<substrepl>')
 @pass_context
-@pass_context
 def dialplan_add(ctx, priority, matchop, matchlen, attrs, dpid, matchexp, substrepl):
     """Add a new translation rule in dialplan table