Apply 1 suggestion(s) to 1 file(s)

william/setup-db
William Tran 2 years ago
parent 98dacb78a3
commit 676442ac07
  1. 6
      backend/setup_db.py

@ -1,5 +1,9 @@
import sqlite3
con = sqlite3.connect('links.db')
import os
DB_PATH = os.path.join(os.path.dirname(__file__), 'links.db')
con = sqlite3.connect(DB_PATH)
# array of links to store
links = [

Loading…
Cancel
Save