summaryrefslogtreecommitdiffstats
path: root/examples3/semaphore.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-25 11:01:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-25 11:01:09 +0200
commite790d08307644b6718b2a547c21370b82aa4f376 (patch)
treeeb4cc574e4f5a98bcc1f24ebab980cc38e3354e0 /examples3/semaphore.py
parent0b2f1c4760ceb98b6e3213999a1e4d48d24e91e8 (diff)
downloadpytqt-e790d08307644b6718b2a547c21370b82aa4f376.tar.gz
pytqt-e790d08307644b6718b2a547c21370b82aa4f376.zip
Fix examples to properly import python_tqt module
This resolves bug 2693 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'examples3/semaphore.py')
-rwxr-xr-xexamples3/semaphore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/semaphore.py b/examples3/semaphore.py
index 68128d7..46cdace 100755
--- a/examples3/semaphore.py
+++ b/examples3/semaphore.py
@@ -7,12 +7,12 @@ import sys
# Check if thread support was enabled.
try:
- from qt import TQThread
+ from python_tqt.qt import TQThread
except:
print "Thread support not enabled"
sys.exit(1)
-from qt import *
+from python_tqt.qt import *
# The semaphore instances.