diff --git a/app/methods/account_cfg_methods.py b/app/methods/account_cfg_methods.py index 32951e9..8efefe5 100644 --- a/app/methods/account_cfg_methods.py +++ b/app/methods/account_cfg_methods.py @@ -27,7 +27,7 @@ def load_account_cfg_obj( if account_id := redis_lookup_id_random(record_id_random=account_id, table_name='account'): pass else: return False - log.info('Getting Account CFG ID: ${account_id}') + log.info(f'Getting Account CFG ID: ${account_id}') if account_cfg_rec := sql_select( table_name = 'v_account_cfg', # This view should probably be cleaned up field_name = 'account_id', diff --git a/app/routers/websockets.py b/app/routers/websockets.py index 45344c0..48dc58a 100644 --- a/app/routers/websockets.py +++ b/app/routers/websockets.py @@ -2,7 +2,7 @@ from fastapi import APIRouter, FastAPI, Response, WebSocket, WebSocketDisconnect from fastapi.responses import HTMLResponse from pydantic import BaseModel, EmailStr, Field from typing import Dict, List, Optional, Set, Union -import redis, asyncio, datetime, hashlib, json, os, pathlib, shutil, time +import redis, asyncio, base64, datetime, hashlib, json, os, pathlib, shutil, time from app.lib_general import log, logging, common_route_params, Common_Route_Params, common_route_params_min, Common_Route_Params_Min from app.config import settings @@ -29,7 +29,8 @@ html = """