summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-04-10 09:27:14 -0300
committerkali <kali@leap.se>2013-04-10 22:05:07 +0900
commit0cbff90910fa35a9489a5542d093211c61d2267f (patch)
treed92aeae06be1df7f74e4215ab5a80a6a4752d3de /src/leap/app.py
parent6365c882b16ad164622fc66ad41d9cd0d02e17b1 (diff)
Move ensure server to the very beginning
Also, fix documentation for a slot and mini-refactor a method for improved translations.
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index 7cf78dc9..4112b404 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -22,6 +22,7 @@ import sys
from functools import partial
from PySide import QtCore, QtGui
+from leap.common.events import server
from leap.util import __version__ as VERSION
from leap.util import leap_argparse
from leap.gui import locale_rc
@@ -44,6 +45,8 @@ def main():
Launches the main event loop
"""
+ server.ensure_server(port=8090)
+
_, opts = leap_argparse.init_leapc_args()
debug = opts.debug
standalone = opts.standalone