intake-hackernews: fix item id not being a string
This commit is contained in:
parent
c94a31206c
commit
c3ca076f03
@ -49,7 +49,7 @@ def main():
|
||||
continue
|
||||
|
||||
item = {}
|
||||
item["id"] = story["id"]
|
||||
item["id"] = str(story["id"])
|
||||
|
||||
if story_by := story.get("by"):
|
||||
item["author"] = story_by
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "intake-hackernews"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
|
||||
[project.scripts]
|
||||
intake-hackernews = "intake_hackernews.core:main"
|
||||
|
Loading…
Reference in New Issue
Block a user