Skip to content

Commit

Permalink
Merge pull request #722 from ryanthomasharrison/fix-class-name-typo
Browse files Browse the repository at this point in the history
Fixed typo in class name UnknownEncryptionStandardException
  • Loading branch information
KimiNewt authored Dec 4, 2024
2 parents fac8b61 + fdb2547 commit 4517bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyshark/capture/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TSharkCrashException(Exception):
pass


class UnknownEncyptionStandardException(Exception):
class UnknownEncryptionStandardException(Exception):
pass


Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 4517bdf

Please sign in to comment.