-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a20462c
commit 27d13c9
Showing
5 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ | |
from abc import ABC, abstractmethod | ||
from typing import List | ||
|
||
from wifimitm.common import WifimitmError | ||
|
||
__author__ = 'Martin Vondracek' | ||
__email__ = '[email protected]' | ||
|
||
|
@@ -41,7 +43,7 @@ def msg(self) -> str: | |
""" | ||
|
||
|
||
class RequirementError(Exception): | ||
class RequirementError(WifimitmError): | ||
def __init__(self, requirement: Requirement): | ||
""" | ||
:type requirement: Requirement | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,15 +35,15 @@ | |
import pkg_resources | ||
|
||
from .model import WirelessAccessPoint, WirelessInterface | ||
from .common import WirelessCapturer, deauthenticate | ||
from .common import WirelessCapturer, deauthenticate, WifimitmError | ||
|
||
__author__ = 'Martin Vondracek' | ||
__email__ = '[email protected]' | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class Wpa2Error(Exception): | ||
class Wpa2Error(WifimitmError): | ||
pass | ||
|
||
|
||
|