Browse Source

Cast this to int.

Joe Clarke 2 years ago
parent
commit
54aff3ae87
1 changed files with 1 additions and 1 deletions
  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: