mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
On demand import functionality, held together with ductape and bubblegum.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user