auto-update

This commit is contained in:
sanj 2024-08-14 16:38:44 -07:00
parent c2f49a8ea9
commit 2984f90499
2 changed files with 2 additions and 2 deletions
sijapi
helpers
routers

View file

@ -149,7 +149,7 @@ def kill_remote_server(server):
def main():
load_env()
db_config = load_config('db')
db_config = load_config('sys')
pool = db_config['POOL']
local_ts_id = os.environ.get('TS_ID')

View file

@ -644,7 +644,7 @@ async def extract_text(file: Union[UploadFile, bytes, bytearray, str, Path], bg_
try:
if isinstance(file, UploadFile):
info("File is an UploadFile object")
l.info("File is an UploadFile object")
file_extension = os.path.splitext(file.filename)[1]
temp_file_path = tempfile.mktemp(suffix=file_extension)
with open(temp_file_path, 'wb') as buffer: