Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
j54j6 committed May 12, 2024
1 parent e320769 commit 2f3de52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Supported values:
If you want to create a table inside the main database you can utilize the "db" key. If defined the program will create a table with the given columns and if you want also default rows.
For reference please check the project.json file as a reference :)

# Working
- Downloading videos (Custom) => Single link
- Register Video in db including tags and important information (also metadata for later use...)


# TODO
- implementing db functions
Expand Down
2 changes: 1 addition & 1 deletion database_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def insert_value(table:str, data:json):
value_placeholder = ""
for i in range(len_data):
value_placeholder += "?,"
value_placeholder = value_placeholder[:-1]
value_placeholder = value_placeholder[:-1]
query = f"Insert into {table} ({keys}) VALUES ({value_placeholder})"
cursor.execute(query, values)
engine.commit()
Expand Down

0 comments on commit 2f3de52

Please sign in to comment.