diff --git a/hacker_news_to_sqlite/cli.py b/hacker_news_to_sqlite/cli.py index 14db882..c63820f 100644 --- a/hacker_news_to_sqlite/cli.py +++ b/hacker_news_to_sqlite/cli.py @@ -70,9 +70,7 @@ def trees(db_path, item_ids): except sqlite_utils.db.NotFoundError: pass item_url = "https://hacker-news.firebaseio.com/v0/item/{}.json".format(id) - item = requests.get( - item_url - ).json() + item = requests.get(item_url).json() done_count += 1 if item is None: continue