Restore Python 3.10 compatibility

This commit is contained in:
Lucian Petrut
2026-09-09 08:54:22 +00:00
parent f64c753d9c
commit 1e5b2d70a5
6 changed files with 12 additions and 8 deletions
+1 -2
View File
@@ -25,7 +25,6 @@ import os
import socket
import ssl
import struct
from typing import Self
from openvixdisklib import fastlz
from openvixdisklib.nfc_auth import NfcAuthSession, _ssl_client_context
@@ -385,7 +384,7 @@ class NfcDisk:
except OSError:
pass
def __enter__(self) -> Self:
def __enter__(self) -> NfcDisk:
return self
def __exit__(self, exc_type, exc, tb) -> None: