This website requires JavaScript.
Explore
Help
Register
Sign In
bozogang
/
bozo-backend
Watch
1
Star
0
Fork
0
You've already forked bozo-backend
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
557d592201
bozo-backend
/
config.py
8 lines
105 B
Python
Raw
Normal View
History
Unescape
Escape
add: init the database, add: init the user table
2023-06-03 16:40:54 -04:00
import
json
core: put config in json
2023-06-04 05:48:19 -04:00
f
=
open
(
'
./config/config.json
'
)
add: init the database, add: init the user table
2023-06-03 16:40:54 -04:00
data
=
json
.
load
(
f
)
database
=
data
.
get
(
"
database
"
)
;
Reference in New Issue
Copy Permalink