mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-10-26 19:11:26 +01:00
MAESTRO: fix linting and formatting
This commit is contained in:
1 parent
af339e784e
commit
930495cd00
13 files changed
+22
-29
No files matched your search
@@ -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