add -m switch with module name

This commit is contained in:
Kiryl
2021-10-01 10:33:38 +03:00
parent 673b3d6f14
commit fda64104e2
3 changed files with 4 additions and 3 deletions

View File

@@ -16,4 +16,4 @@ VOLUME /app/logs
# VOLUME /app/html
# VOLUME /app/json
CMD python -m /app/src/util/check_dirs.py && python -m /app/src/consumer.py
CMD python -m /app/src/util/check_dirs.py && python -m consumer.py

View File

@@ -9,7 +9,7 @@ from threading import Event
import pika
from access import Access
from src.access import Access
from src.docx_converter.docx_solver import DocxBook
from src.epub_converter.epub_solver import EpubBook

View File

@@ -2,7 +2,8 @@ import re
from typing import Union
from ebooklib.epub import Section, Link
from src.livecarta_config import LiveCartaConfig
from livecarta_config import LiveCartaConfig
"""
These are data structures which form mapping from NCX to python data structures.