From 5c8ca4e22d8527b1c92d0886dbca8d549ad7a3d5 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Mon, 18 Nov 2019 14:29:16 +0100 Subject: [PATCH] Fix imports --- app/corpora/CQiWrapper/CQiClient.py | 2 +- app/corpora/CQiWrapper/CQiWrapper.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/corpora/CQiWrapper/CQiClient.py b/app/corpora/CQiWrapper/CQiClient.py index ab01522c..39a24c4c 100644 --- a/app/corpora/CQiWrapper/CQiClient.py +++ b/app/corpora/CQiWrapper/CQiClient.py @@ -1,4 +1,4 @@ -import CQi +from . import CQi import socket import struct diff --git a/app/corpora/CQiWrapper/CQiWrapper.py b/app/corpora/CQiWrapper/CQiWrapper.py index be16171c..b1ca3f6f 100644 --- a/app/corpora/CQiWrapper/CQiWrapper.py +++ b/app/corpora/CQiWrapper/CQiWrapper.py @@ -1,5 +1,5 @@ -from CQiClient import CQiClient -from CQi import CONST_FIELD_MATCH, CONST_FIELD_MATCHEND +from .CQiClient import CQiClient +from .CQi import CONST_FIELD_MATCH, CONST_FIELD_MATCHEND import collections from app import logger # only works if imported into opaque web app