docker: fix import order on wait_for_db

This commit is contained in:
Jens Langhammer 2020-05-16 22:56:14 +02:00
parent 10d3f9ac2f
commit 2c5d6e8187
1 changed files with 5 additions and 3 deletions

View File

@ -2,11 +2,13 @@
"""This file needs to be run from the root of the project to correctly
import passbook. This is done by the dockerfile."""
from time import sleep
from psycopg2 import connect, OperationalError
from passbook.lib.config import CONFIG
from structlog import get_logger
from psycopg2 import OperationalError, connect
from redis import Redis
from redis.exceptions import RedisError
from structlog import get_logger
from passbook.lib.config import CONFIG
LOGGER = get_logger()