On demand import functionality, held together with ductape and bubblegum.

This commit is contained in:
th3r00t
2020-09-02 17:42:08 -04:00
parent 938ef39821
commit 85fa88dcb0
6 changed files with 91 additions and 99 deletions

View File

@@ -4,7 +4,6 @@ import sys
from pathlib import Path
import websockets
from loguru import logger
from src.backend.lib.config import Config
from src.backend.pyShelf_MakeCollections import MakeCollections
@@ -26,6 +25,7 @@ async def runImport():
async def socketio(websocket, path):
async for message in websocket:
config.logger.info("Message Processing")
if message == "ping":
config.logger.info("<< Ping")
tx = pong(message)