diff options
| -rw-r--r-- | examples/dashboard/app.py | 2 | ||||
| -rw-r--r-- | examples/dashboard/config_example.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/dashboard/app.py b/examples/dashboard/app.py index 0934da8..78c3262 100644 --- a/examples/dashboard/app.py +++ b/examples/dashboard/app.py @@ -33,7 +33,7 @@ def data(): data = dict() api = gamelocker.Gamelocker("aaa.bbb.ccc").vainglory() - data["number"] = 50 + data["number"] = config.batchsize matches = api.matches(data["number"]) gameModes = dict() diff --git a/examples/dashboard/config_example.py b/examples/dashboard/config_example.py new file mode 100644 index 0000000..092b106 --- /dev/null +++ b/examples/dashboard/config_example.py @@ -0,0 +1,3 @@ +secret_key = "ub3rsecure" +debug = True +batchsize = 50 |
