Skip to content

Commit

Permalink
[Fix] Keep support for python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Aug 26, 2020
1 parent f6d5909 commit 273b454
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.3.6 - 2020-08-26

### Fixed

- Keep support for python 3.5

## 0.3.5 - 2020-08-26

### Fixed
Expand Down
4 changes: 3 additions & 1 deletion ankipandas/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ def read_info(db: sqlite3.Connection, table_name: str):
"""
version = get_db_version(db)
_df = pd.read_sql_query(f"SELECT * FROM {table_name} ", db)
_df = pd.read_sql_query(
"SELECT * FROM {table_name} ".format(table_name=table_name), db
)
if version == 0:
assert len(_df) == 1, _df
ret = {}
Expand Down
2 changes: 1 addition & 1 deletion ankipandas/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.5
0.3.6

0 comments on commit 273b454

Please sign in to comment.