summaryrefslogtreecommitdiff
path: root/examples/threads.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/threads.py')
-rw-r--r--examples/threads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/threads.py b/examples/threads.py
index 9e3ea82..5477aa8 100644
--- a/examples/threads.py
+++ b/examples/threads.py
@@ -37,7 +37,7 @@ MODE = 1
## don't modify anything below tis line (except for experimenting)
import sys, psycopg2, threading
-from psycopg.pool import ThreadedConnectionPool
+from psycopg2.pool import ThreadedConnectionPool
if len(sys.argv) > 1:
DSN = sys.argv[1]