浏览代码

Cast this to int.

Joe Clarke 2 年之前
父节点
当前提交
54aff3ae87
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup-meraki-nets.py

+ 1 - 1
setup-meraki-nets.py

@@ -128,7 +128,7 @@ def main():
                 nerrors += 1
                 continue
 
-            shape_ret = net_obj.apply_shaping(network["client_limit"])
+            shape_ret = net_obj.apply_shaping(int(network["client_limit"]))
             if shape_ret:
                 print("{}update: added traffic shaping to network {}{}".format(Fore.YELLOW, nname, Style.RESET_ALL))
             else: