aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/db.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/db.py b/python/db.py
index a2deb2fc..960700d9 100644
--- a/python/db.py
+++ b/python/db.py
@@ -1,5 +1,6 @@
import psycopg2
from psycopg2.extras import DictCursor
+from psycopg2 import IntegrityError
conn = psycopg2.connect(database="ET",
user="et_user",