mirror of
https://github.com/Jylpah/blitz-tools.git
synced 2026-11-03 15:30:38 +01:00
WG app id added to config file
Get your own WG app ID at https://developers.wargaming.net/documentation/guide/getting-started/
This commit is contained in:
1 parent
a5e45ecec1
commit
ff81e7d1f9
2 files changed
+3
-2
No files matched your search
@@ -471,7 +471,7 @@ class PlayerHistogram():
|
||||
## main() -------------------------------------------------------------
|
||||
|
||||
async def main(argv):
|
||||
global wg, wi
|
||||
global wg, wi, WG_APP_ID
|
||||
# set the directory for the script
|
||||
os.chdir(os.path.dirname(sys.argv[0]))
|
||||
|
||||
@@ -489,6 +489,7 @@ async def main(argv):
|
||||
|
||||
configWG = config['WG']
|
||||
WG_ID = configWG.getint('wg_id', None)
|
||||
WG_APP_ID = configWG.get('wg_app_id', WG_APP_ID)
|
||||
WG_RATE_LIMIT = configWG.getint('wg_rate_limit', 10)
|
||||
|
||||
configDB = config['DATABASE']
|
||||
|
||||
Reference in new issue
Block a user