diff --git a/client/djrandom_client/upload.py b/client/djrandom_client/upload.py index 206f06e0ebeae71277d02b866b8b2f5340778b71..f4f2197da443672b01310dd79e6d898ed17ac62d 100644 --- a/client/djrandom_client/upload.py +++ b/client/djrandom_client/upload.py @@ -28,7 +28,7 @@ class FileDatabase(object): if not dbpath.endswith('.db'): dbpath += '.db' - is_new = not os.path.exist(dbpath) + is_new = not os.path.exists(dbpath) self.conn = sqlite3.connect(dbpath) self.conn.text_factory = str diff --git a/client/setup.py b/client/setup.py index 60cd80bfc16b4648b368844c62d207606ed8baee..2f12f58e2a726db73e1b1fb9da0a6a5d682b1c1a 100644 --- a/client/setup.py +++ b/client/setup.py @@ -19,7 +19,7 @@ setup( author="ale", author_email="ale@incal.net", url="http://git.autistici.org/git/djrandom.git", - install_requires=platform_requires, + install_requires=['pysqlite'] + platform_requires, setup_requires=[], zip_safe=True, packages=find_packages(),