summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/og_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/og_server.py b/ogcp/og_server.py
index 38d9a01..1b7fa32 100644
--- a/ogcp/og_server.py
+++ b/ogcp/og_server.py
@@ -50,7 +50,7 @@ if {'IP', 'PORT', 'API_TOKEN'} <= app.config.keys():
app.config['IP'],
app.config['PORT'],
app.config['API_TOKEN']))
-else:
+if app.config.get('SERVERS'):
for server in app.config['SERVERS']:
ogserver = OGServer(server['NAME'],
server['IP'],