mirror of https://github.com/MISP/misp-modules
fix: Making pep8 happy
parent
4e98c3efd0
commit
dc9ea98d2c
|
@ -25,6 +25,7 @@ def parse_config(apiurl, user_id, config):
|
||||||
error['error'] = f'Error while initiating a connection with AssemblyLine: {e.__str__()}'
|
error['error'] = f'Error while initiating a connection with AssemblyLine: {e.__str__()}'
|
||||||
return error
|
return error
|
||||||
|
|
||||||
|
|
||||||
def submit_content(client, filename, data):
|
def submit_content(client, filename, data):
|
||||||
try:
|
try:
|
||||||
return client.submit(fname=filename, contents=data.encode())
|
return client.submit(fname=filename, contents=data.encode())
|
||||||
|
|
Loading…
Reference in New Issue