summaryrefslogtreecommitdiffstats
path: root/mountconfig/mountconfig.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-29 02:35:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-29 02:35:59 +0200
commita7b3f0dc2315c54f38220595472ccbc79d5f317c (patch)
tree0b4199d5897379161ee88baabb1cf61ab26eb02b /mountconfig/mountconfig.py
parentbcb3878e5f9777c1f914733a54d2ea10f632d803 (diff)
downloadtde-guidance-a7b3f0dc2315c54f38220595472ccbc79d5f317c.tar.gz
tde-guidance-a7b3f0dc2315c54f38220595472ccbc79d5f317c.zip
Properly import python_tqt module
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mountconfig/mountconfig.py')
-rwxr-xr-xmountconfig/mountconfig.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py
index d7e3641..d2576f1 100755
--- a/mountconfig/mountconfig.py
+++ b/mountconfig/mountconfig.py
@@ -19,19 +19,7 @@
import sys
import os
import os.path
-# Trinity-specific paths
-tqt_modules = []
-for m_path in sys.path:
- if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
- m_sip_dir = os.path.join(m_path, 'sip4_tqt')
- tqt_modules.insert(0, m_sip_dir)
- if os.path.exists(os.path.join(m_path, 'python_tqt')):
- m_pyqt_dir = os.path.join(m_path, 'python_tqt')
- tqt_modules.insert(0, m_pyqt_dir)
-for m_path in tqt_modules:
- sys.path.insert(0, m_path)
-
-from qt import *
+from python_tqt.qt import *
from tdeui import *
from tdecore import *
from tdefile import *