File "/home/ct/ManagementNetworkDevice/netmiko_Api/./utils/netmiko_test.py", line 131, in <module>
for x in check.split("\n")[0:len(check.split("\n"))/2:1]:
TypeError: slice indices must be integers or None or have an __index__ method