Support for config file

you may set your WG ID in a config file (blitzstats.ini)
This commit is contained in:
Jylpah committed 2019-09-20 19:38:40 +03:00
1 parent bdfacdf51a
commit 88faeec598
2 files changed
+66 -36

No files matched your search

+14 -9
View File
@@ -1,9 +1,14 @@
[DATABASE]
db_server = localhost
db_port = 27017
db_auth = admin
db_name = BlitzStats
db_user = blitzAnalysiz
db_password = PASSWORD
db_ssl = True
db_cert_req = 2
[GENERAL]
## Find your WG account_id : https://developers.wargaming.net/reference/all/wotb/account/list/
#wg_id = 0
# you are unlikely have MongoDB set up so just ignore these
#[DATABASE]
#db_server = localhost
#db_port = 27017
#db_auth = admin
#db_name = BlitzStats
#db_user = blitzAnalysiz
#db_password = PASSWORD
#db_ssl = True
#db_cert_req = 2