Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderGress committed Jul 5, 2022
1 parent 322420f commit f4fb316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structman_source/structman/lib/repairDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def destroy(config):

def insert_meta_data(config):
db, cursor = config.getDB()
sql = f'Insert INTO Database_Metadata (StructMAn_Version, PPI_Feature) VALUES ("{_version.__version__}", "{config.compute_ppi}");'
sql = f'Insert INTO Database_Metadata (StructMAn_Version, PPI_Feature) VALUES ("{_version.__version__}", "{int(config.compute_ppi)}");'

try:
cursor.execute(sql)
Expand Down

0 comments on commit f4fb316

Please sign in to comment.