mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 13:33:30 +01:00
MAESTRO: fix linting and formatting
This commit is contained in:
@@ -68,9 +68,7 @@ class Settings(BaseSettings):
|
||||
parsed = json.loads(text)
|
||||
if isinstance(parsed, list):
|
||||
return [
|
||||
str(item).strip()
|
||||
for item in parsed
|
||||
if str(item).strip()
|
||||
str(item).strip() for item in parsed if str(item).strip()
|
||||
]
|
||||
except json.JSONDecodeError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user