소스 검색

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: