chg: [pdfexport] make flake8 happy

pull/279/head
Alexandre Dulaunoy 2019-02-25 21:18:26 +01:00
parent b0ea67e393
commit e7fd7e8eb2
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from datetime import date
import json
import shlex
import subprocess
import base64
from pymisp import MISPEvent
from pymisp.tools import reportlab_generator
@ -46,6 +42,7 @@ class ReportGenerator():
self.misp_event = MISPEvent()
self.misp_event.load(event)
def handler(q=False):
if q is False:
return False
@ -63,7 +60,6 @@ def handler(q=False):
config[config_item] = request['config'].get(config_item)
for evt in request['data']:
misp_event = MISPEvent()
misp_event.load(evt)