Немного изменения для запуска в качестве сервиса на линуксе.

This commit is contained in:
2025-11-10 14:48:44 +03:00
parent 78e28eaa92
commit 5894d2d8a5
5 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@@ -10,7 +10,7 @@ import uvicorn
from threading import Thread, Event, Lock
import time
from contextlib import asynccontextmanager
from smb_excel import read_excel_from_smb, fetch_smb_file
#from smb_excel import read_excel_from_smb, fetch_smb_file
import numpy as np

View File

@@ -5,4 +5,5 @@ fastapi>=0.115.0
uvicorn>=0.30.0
requests>=2.31.0
python-telegram-handler
python-dotenv>=1.1.0
python-dotenv>=1.1.0
lxml

View File

@@ -1,7 +1,7 @@
# smb_excel.py (обновлённый фрагмент)
from io import BytesIO
from typing import Optional, Union, Any, Dict
from smb.SMBConnection import SMBConnection
#from smb.SMBConnection import SMBConnection
import pandas as pd
import re