Function eval() in line 71 should be removed (#433)
Function eval() calculate already the result before sending inputs to the switch (the calculation should be done by the switch) So, it should be removed.
This commit is contained in:
parent
ad024371a8
commit
394f42f8ff
@ -68,7 +68,7 @@ def main():
|
||||
iface = 'eth0'
|
||||
|
||||
while True:
|
||||
s = str(eval(input('> ')))
|
||||
s = input('> ')
|
||||
if s == "quit":
|
||||
break
|
||||
print(s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user