Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
BnMcGn committed Oct 21, 2024
1 parent 77759ae commit 9ae0696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/vibase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 9ae0696

Please sign in to comment.