do not treat empty lines as servers

This commit is contained in:
rofl0r
2019-01-07 16:22:06 +00:00
parent 9e3c08fcf4
commit 9e8beca4e1

View File

@@ -33,4 +33,4 @@ def load():
global servers
with open('servers.txt', 'r') as handle:
servers = handle.read().split('\n')
servers = [x.strip() for x in handle.readlines() if len(x.strip()) > 0]