Fix import error handling for telesec_couchdb

This commit is contained in:
Naiel
2026-03-03 10:27:04 +01:00
committed by GitHub
parent 90df81d308
commit 3e8542c9de

View File

@@ -12,9 +12,9 @@ from typing import Any, Dict, Optional
import psutil
try:
from .telesec_couchdb import TeleSecCouchDB, TeleSecCouchDBError, ts_decrypt
except ImportError:
from telesec_couchdb import TeleSecCouchDB, TeleSecCouchDBError, ts_decrypt
except ImportError:
from .telesec_couchdb import TeleSecCouchDB, TeleSecCouchDBError, ts_decrypt
def utcnow_iso() -> str: