mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-08-12 08:32:23 +00:00
Update ConnectionString.py
This commit is contained in:
parent
519ccda5ed
commit
afa578aa34
@ -1,10 +1,6 @@
|
||||
import configparser
|
||||
import os
|
||||
|
||||
from sqlalchemy_utils import database_exists, create_database
|
||||
|
||||
from DashboardConfig import DashboardConfig
|
||||
|
||||
def ConnectionString(database) -> str or None:
|
||||
parser = configparser.ConfigParser(strict=False)
|
||||
parser.read_file(open('wg-dashboard.ini', "r+"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user