diff --git a/config.py b/config.py index 3aa867f..8c7c510 100644 --- a/config.py +++ b/config.py @@ -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]