Browse Source

fix: Removed multiple spaces to comply with pep8

pull/415/head
chrisr3d 1 year ago
parent
commit
f99174af2e
No known key found for this signature in database GPG Key ID: 6BBED1B63A6D639F
  1. 2
      misp_modules/modules/import_mod/csvimport.py

2
misp_modules/modules/import_mod/csvimport.py

@ -244,7 +244,7 @@ def __any_mandatory_misp_field(header):
def __special_parsing(data, delimiter):
return list(tuple(part.strip() for part in line[0].split(delimiter)) for line in csv.reader(io.TextIOWrapper(io.BytesIO(data.encode()), encoding='utf-8')) if line and not line[0].startswith('#'))
return list(tuple(part.strip() for part in line[0].split(delimiter)) for line in csv.reader(io.TextIOWrapper(io.BytesIO(data.encode()), encoding='utf-8')) if line and not line[0].startswith('#'))
def __standard_parsing(data):

Loading…
Cancel
Save