14 lines
273 B
Python
14 lines
273 B
Python
|
|
config = {
|
|
"use_sqlite": False
|
|
, "mysql_server": "172.17.0.2"
|
|
, "mysql_user": "wikipedia"
|
|
, "mysql_password": "wikipediastuff"
|
|
, "mysql_database": "wikipedia_link_db"
|
|
}
|
|
|
|
if(config["use_sqlite"]):
|
|
config["sql_method"] = "sqlite"
|
|
else:
|
|
config["sql_method"] = "mysql"
|