Skip to content

Commit

Permalink
fixed minor issues with f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
theonlyamos committed Apr 18, 2024
1 parent 6edb785 commit 5325e5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion odbms/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Database = None

VERSION = "0.2.9"
VERSION = "0.3.1"

def main(args):
global parser
Expand Down
2 changes: 1 addition & 1 deletion odbms/orms/sqlitedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def update(table: str, params: dict, data: dict)-> Union[int, None]:

@staticmethod
def find(table: str, params: dict = {}, columns: list = ['*']):
query = f'SELECT {', '.join(columns)} FROM {table}'
query = f'SELECT {", ".join(columns)} FROM {table}'

if len(params.keys()):
query += ' WHERE '
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from importlib.metadata import entry_points
from setuptools import setup, find_packages

VERSION = '0.3.0'
VERSION = '0.3.1'

with open('README.md', 'rt') as file:
description = file.read()
Expand Down

0 comments on commit 5325e5d

Please sign in to comment.