mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
fix(base): use !zotero_key.isEmpty() filter syntax
This commit is contained in:
parent
3c3f62182a
commit
c81f892625
1 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@ def merge_base_views(existing_content: str | None, new_views: list[dict]) -> str
|
|||
and:
|
||||
- file.inFolder("{new_views[0]["name"]}")
|
||||
- file.ext == "md"
|
||||
- zotero_key != ""
|
||||
- !zotero_key.isEmpty()
|
||||
{PROPERTIES_YAML}
|
||||
views:
|
||||
{fresh_views_yaml}"""
|
||||
|
|
@ -458,7 +458,7 @@ def _build_base_yaml(folder_filter: str, views: list[dict]) -> str:
|
|||
and:
|
||||
- file.inFolder("{folder_filter}")
|
||||
- file.ext == "md"
|
||||
- zotero_key != ""
|
||||
- !zotero_key.isEmpty()
|
||||
properties:
|
||||
zotero_key:
|
||||
displayName: "Zotero Key"
|
||||
|
|
|
|||
Loading…
Reference in a new issue