Skip to content

Commit 25d8578

Browse files
committed
Compatibility with sqlite-utils 1.x, release 0.2a
1 parent 071bc2d commit 25d8578

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hacker_news_to_sqlite/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def user(db_path, username):
3030
)
3131
# Only do IDs we have not yet fetched
3232
done = set()
33-
if db["items"].exists():
33+
if "items" in db.table_names():
3434
done = set(
3535
r[0]
3636
for r in db.conn.execute(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup
22
import os
33

4-
VERSION = "0.1a"
4+
VERSION = "0.2a"
55

66

77
def get_long_description():

0 commit comments

Comments
 (0)