fix: Making pep8 happy

pull/352/head
chrisr3d 2019-11-20 10:13:51 -05:00
parent 4e98c3efd0
commit dc9ea98d2c
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ def parse_config(apiurl, user_id, config):
error['error'] = f'Error while initiating a connection with AssemblyLine: {e.__str__()}'
return error
def submit_content(client, filename, data):
try:
return client.submit(fname=filename, contents=data.encode())