From a7b3f0dc2315c54f38220595472ccbc79d5f317c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 29 Sep 2016 02:35:59 +0200 Subject: Properly import python_tqt module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- serviceconfig/serviceconfig.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'serviceconfig') diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py index 4e82bf8..1fdacc3 100755 --- a/serviceconfig/serviceconfig.py +++ b/serviceconfig/serviceconfig.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 * import posix -- cgit v1.2.1