summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/eip.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-04 07:11:01 +0900
committerkali <kali@leap.se>2012-09-04 07:11:01 +0900
commit3b752fcfac7a18891e2f948acae0cb4781678647 (patch)
tree23167af11c7b0e42b8c94194351d788b288f2696 /src/leap/baseapp/eip.py
parent8ef9f6f6f155b4acd0a69f1611058c4f0ba07d42 (diff)
put timer constant instead of hardcoded value
Diffstat (limited to 'src/leap/baseapp/eip.py')
-rw-r--r--src/leap/baseapp/eip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/baseapp/eip.py b/src/leap/baseapp/eip.py
index 6c3249ff..029ce0ba 100644
--- a/src/leap/baseapp/eip.py
+++ b/src/leap/baseapp/eip.py
@@ -3,6 +3,7 @@ import time
from PyQt4 import QtCore
from leap.baseapp.dialogs import ErrorDialog
+from leap.baseapp import constants
from leap.eip import exceptions as eip_exceptions
from leap.eip.eipconnection import EIPConnection
@@ -182,8 +183,7 @@ class EIPConductorApp(object):
# should bring it here?
# to its own class?
- # XXX get constant from somewhere else
- self.timer.start(250.0)
+ self.timer.start(constants.TIMER_MILLISECONDS)
return
if self.eip_service_started is True: