summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-04-10 22:52:32 +0900
committerkali <kali@leap.se>2013-04-10 22:52:32 +0900
commitcf6c30f6f046401dead7a990f56bf9ad2c7cfa01 (patch)
treeab359f05b42a5f6f860fb3ab15243122172b8c4d /src/leap/app.py
parent816104f2983e0f6dcded621c02c4c520e2e36da6 (diff)
remove duplicated ensure_server
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index c9f39e98..c4a3156e 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -74,9 +74,7 @@ def main():
console.setFormatter(formatter)
logger.addHandler(console)
- if we_are_the_one_and_only():
- event_server.ensure_server(event_server.SERVER_PORT)
- else:
+ if not we_are_the_one_and_only():
# leap-client is already running
logger.warning("Tried to launch more than one instance "
"of leap-client. Raising the existing "