summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-11-05 01:40:09 +0100
committeremkael <emkael@tlen.pl>2020-11-05 01:40:09 +0100
commit8c596775050466e415395b55d1d110f6a39e1282 (patch)
tree767c117e3631480155c1ab579ecaf5b6a7135dc9
parentddde1c7581457f795daa7be4b659afab133734da (diff)
Manual import of all necessary dependencies for format converters in API while import path is still set
-rw-r--r--http/api/api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/http/api/api.py b/http/api/api.py
index d95cabc..51b93d1 100644
--- a/http/api/api.py
+++ b/http/api/api.py
@@ -12,6 +12,7 @@ OLDPATH = copy.copy(sys.path)
sys.path.append(
os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
from dealconvert import DealConverter
+from dealconvert.formats import *
sys.path = OLDPATH
CACHEPATH = os.path.abspath(