fix: автодетект --cli в Bootstrap, отображение локальных сборок в JFX, обработка ошибок установки и друзей
This commit is contained in:
+4
-4
@@ -232,10 +232,10 @@ async def lifespan(app: FastAPI):
|
||||
|
||||
# ====================== MIRROR SYNC HELPERS ======================
|
||||
|
||||
async def _calculate_file_hash_async(file_path: Path) -> Optional[str]:
|
||||
"""Calculate SHA256 hash of a file asynchronously"""
|
||||
try:
|
||||
loop = asyncio.get_running_loop()
|
||||
async def _calculate_file_hash_async(file_path: Path) -> Optional[str]:
|
||||
"""Calculate SHA256 hash of a file asynchronously"""
|
||||
try:
|
||||
loop = asyncio.get_running_loop()
|
||||
def _hash():
|
||||
h = hashlib.sha256()
|
||||
with open(file_path, "rb") as f:
|
||||
|
||||
Reference in New Issue
Block a user