Update db.py
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import sqlite3
|
import sqlite3
|
||||||
|
|
||||||
DB_URL = 'plex.db'
|
DB_URL = '/root/config/plex.db'
|
||||||
|
|
||||||
def create_connection(db_file):
|
def create_connection(db_file):
|
||||||
""" create a database connection to a SQLite database """
|
""" create a database connection to a SQLite database """
|
||||||
@@ -70,4 +70,4 @@ def delete_user(username):
|
|||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return "username cannot be empty"
|
return "username cannot be empty"
|
||||||
|
|||||||
Reference in New Issue
Block a user