fix: Making pep8 happy + added joe_import module in the init list

pull/305/head
chrisr3d 2019-06-04 11:33:42 +10:00
parent 42bc6f8d2b
commit aa3e873845
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
4 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,7 @@
from . import _vmray # noqa
import os
import sys
sys.path.append('{}/lib'.format('/'.join((os.path.realpath(__file__)).split('/')[:-3])))
__all__ = ['cuckoo_submit', 'vmray_submit', 'bgpranking', 'circl_passivedns', 'circl_passivessl',
'countrycode', 'cve', 'dns', 'btc_steroids', 'domaintools', 'eupi',

View File

@ -1,9 +1,6 @@
# -*- coding: utf-8 -*-
import jbxapi
import json
import os
import sys
sys.path.append('{}/lib'.format('/'.join((os.path.realpath(__file__)).split('/')[:-3])))
from joe_parser import JoeParser
misperrors = {'error': 'Error'}
@ -58,6 +55,7 @@ def handler(q=False):
def introspection():
return mispattributes
def version():
moduleinfo['config'] = moduleconfig
return moduleinfo

View File

@ -1,3 +1,6 @@
from . import _vmray # noqa
import os
import sys
sys.path.append('{}/lib'.format('/'.join((os.path.realpath(__file__)).split('/')[:-3])))
__all__ = ['vmray_import', 'ocr', 'cuckooimport', 'goamlimport', 'email_import', 'mispjson', 'openiocimport', 'threatanalyzer_import', 'csvimport']
__all__ = ['vmray_import', 'ocr', 'cuckooimport', 'goamlimport', 'email_import', 'mispjson', 'openiocimport', 'threatanalyzer_import', 'csvimport', 'joe_import']

View File

@ -1,9 +1,6 @@
# -*- coding: utf-8 -*-
import base64
import json
import os
import sys
sys.path.append('{}/lib'.format('/'.join((os.path.realpath(__file__)).split('/')[:-3])))
from joe_parser import JoeParser
misperrors = {'error': 'Error'}