mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Run poe format
This commit is contained in:
parent
044bc64f0b
commit
989f504180
1 changed files with 3 additions and 3 deletions
|
@ -300,15 +300,15 @@ class Journal:
|
||||||
or (
|
or (
|
||||||
strict
|
strict
|
||||||
and all(
|
and all(
|
||||||
substring in entry.title.casefold()
|
substring in entry.title.casefold()
|
||||||
or substring in entry.body.casefold()
|
or substring in entry.body.casefold()
|
||||||
for substring in contains_lower
|
for substring in contains_lower
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
or (
|
or (
|
||||||
not strict
|
not strict
|
||||||
and any(
|
and any(
|
||||||
substring in entry.title.casefold()
|
substring in entry.title.casefold()
|
||||||
or substring in entry.body.casefold()
|
or substring in entry.body.casefold()
|
||||||
for substring in contains_lower
|
for substring in contains_lower
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue