From 9ae0696924a5609078845fd8cbbbecb3d4f1ca1d Mon Sep 17 00:00:00 2001 From: "bnmcgn@gmail.com" Date: Mon, 21 Oct 2024 09:33:37 -0700 Subject: [PATCH] Bugfix --- setup.py | 4 ++-- src/vibase.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 7a2a775..e28381e 100755 --- a/setup.py +++ b/setup.py @@ -7,12 +7,12 @@ sys.exit("Requires python 3 or greater") setup(name='vibase', - version='0.1.0', + version='0.1.1', description='Edit a database table using the VIM editor', author='Ben McGunigle', author_email='bnmcgn@gmail.com', url='https://github.com/BnMcGn/vibase', - download_url='https://github.com/BnMcGn/vibase/archive/0.1.0.tar.gzip', + download_url='https://github.com/BnMcGn/vibase/archive/0.1.1.tar.gzip', long_description='Inspired by vidir, vibase allows you to quickly edit the data in a database table using the power of the legendary VIM editor.' packages=['src'], entry_points = { diff --git a/src/vibase.py b/src/vibase.py index 192d129..6c0d7e3 100644 --- a/src/vibase.py +++ b/src/vibase.py @@ -18,7 +18,7 @@ def is_file_sqlite(fname): return line.startswith(idstring) def extract_conn_from_module(module): - for x in module.__dict__.values() + for x in module.__dict__.values(): if hasattr(x, "cursor"): return x raise (RuntimeError, "Couldn't find connection")