From fdb2547311cad4082a450892bf7561dca6f04dc7 Mon Sep 17 00:00:00 2001 From: ryanharrison89 Date: Wed, 4 Dec 2024 09:36:42 -0500 Subject: [PATCH] fixed typo in class name UnknownEncryptionStandardException --- src/pyshark/capture/capture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyshark/capture/capture.py b/src/pyshark/capture/capture.py index b6c8b4e3..b7aef6ef 100644 --- a/src/pyshark/capture/capture.py +++ b/src/pyshark/capture/capture.py @@ -28,7 +28,7 @@ class TSharkCrashException(Exception): pass -class UnknownEncyptionStandardException(Exception): +class UnknownEncryptionStandardException(Exception): pass @@ -92,7 +92,7 @@ def __init__(self, display_filter=None, only_summaries=False, eventloop=None, self.encryption = (decryption_key, encryption_type.lower()) else: standards = ", ".join(self.SUPPORTED_ENCRYPTION_STANDARDS) - raise UnknownEncyptionStandardException(f"Only the following standards are supported: {standards}.") + raise UnknownEncryptionStandardException(f"Only the following standards are supported: {standards}.") def __getitem__(self, item): """Gets the packet in the given index.