don't crash if ch1p module is missing
This commit is contained in:
parent
9ee23a8b27
commit
91177bcf42
@ -1,8 +1,11 @@
|
|||||||
from threading import Lock
|
from threading import Lock
|
||||||
from lib.util import Colored
|
from lib.util import Colored
|
||||||
from lib.scanner import PortState
|
from lib.scanner import PortState
|
||||||
from ch1p import telegram_notify
|
|
||||||
|
|
||||||
|
try:
|
||||||
|
from ch1p import telegram_notify
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
pass
|
||||||
|
|
||||||
class Results:
|
class Results:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user