fix checking ip

This commit is contained in:
rootzoll 2020-08-02 17:06:56 +02:00
parent 8622d48fd3
commit 69f6074330

View file

@ -416,7 +416,7 @@ Create one first and try again.
height=10, width=40, init="",
title="Static IP")
ip = text.strip()
ip = token.split(' ')[0]
ip = ip.split(' ')[0]
# check for valid input
try: