fix: [cleanup] Quick clean up on exception type

pull/222/head
chrisr3d 5 years ago
parent bb6002a3ff
commit 0666a60b3d
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
  1. 2
      misp_modules/modules/expansion/yara_syntax_validator.py

@ -2,7 +2,7 @@ import json
import requests
try:
import yara
except:
except ModuleNotFoundError:
print("yara is missing, use 'pip3 install yara' to install it.")
misperrors = {'error': 'Error'}

Loading…
Cancel
Save