fix: Fixed exception type for python 3.5

chrisr3d 2018-09-07 18:06:01 +02:00
parent a18db2ed1d
commit cfbd63f14e
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

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