mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-08 22:22:17 +02:00
chore: bumped version to 0.0.31
This commit is contained in:
parent
8df8565e0a
commit
1c9ab207ef
56 changed files with 520 additions and 190 deletions
|
|
@ -182,9 +182,7 @@ async def step5_dump_fixtures() -> bool:
|
|||
wrote.append("sample_post.json")
|
||||
# A single comment thing, for the comment-mapping fixture.
|
||||
comment_kids = children(post[1]) if len(post) > 1 else []
|
||||
first_comment = next(
|
||||
(c for c in comment_kids if c.get("kind") == "t1"), None
|
||||
)
|
||||
first_comment = next((c for c in comment_kids if c.get("kind") == "t1"), None)
|
||||
if first_comment:
|
||||
(_FIXTURE_DIR / "sample_comment.json").write_text(
|
||||
json.dumps(first_comment), encoding="utf-8"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue