mirror of https://github.com/MISP/misp-modules
fix: [cleanup] Quick clean up on exception type
parent
bb6002a3ff
commit
0666a60b3d
|
@ -2,7 +2,7 @@ import json
|
||||||
import requests
|
import requests
|
||||||
try:
|
try:
|
||||||
import yara
|
import yara
|
||||||
except:
|
except ModuleNotFoundError:
|
||||||
print("yara is missing, use 'pip3 install yara' to install it.")
|
print("yara is missing, use 'pip3 install yara' to install it.")
|
||||||
|
|
||||||
misperrors = {'error': 'Error'}
|
misperrors = {'error': 'Error'}
|
||||||
|
|
Loading…
Reference in New Issue