reindex-textual-data: Find psycopg2 in the virtualenv.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-01-26 11:22:21 -08:00 committed by Alex Vandiver
parent fee7c5712f
commit aec6cd4cdb
1 changed files with 4 additions and 4 deletions

View File

@ -6,15 +6,15 @@ import os
import sys
import time
import psycopg2
import psycopg2.extensions
from psycopg2.sql import SQL, Identifier
sys.path.append(os.path.join(os.path.dirname(__file__), "../.."))
from scripts.lib.setup_path import setup_path
setup_path()
import psycopg2
import psycopg2.extensions
from psycopg2.sql import SQL, Identifier
from scripts.lib.zulip_tools import su_to_zulip
su_to_zulip()