diff options
| -rw-r--r-- | examples/dashboard/app.py | 2 | ||||
| -rw-r--r-- | gamelocker/api.py | 2 | ||||
| -rw-r--r-- | tests/gamelocker_test.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/dashboard/app.py b/examples/dashboard/app.py index 78c3262..754004f 100644 --- a/examples/dashboard/app.py +++ b/examples/dashboard/app.py @@ -32,7 +32,7 @@ def data(): return render_template("stats.js", stats=data) data = dict() - api = gamelocker.Gamelocker("aaa.bbb.ccc").vainglory() + api = gamelocker.Gamelocker("aaa.bbb.ccc").Vainglory() data["number"] = config.batchsize matches = api.matches(data["number"]) diff --git a/gamelocker/api.py b/gamelocker/api.py index c1383d6..905f9fa 100644 --- a/gamelocker/api.py +++ b/gamelocker/api.py @@ -102,7 +102,7 @@ class Gamelocker(object): element = gamelocker.datatypes.link_to_object(element, includes) return element - def vainglory(self): + def Vainglory(self): """Sets title to Vainglory. :return: :class:`Gamelocker <Gamelocker>` object diff --git a/tests/gamelocker_test.py b/tests/gamelocker_test.py index 373269a..2af10e2 100644 --- a/tests/gamelocker_test.py +++ b/tests/gamelocker_test.py @@ -10,7 +10,7 @@ class TestGamelocker: @pytest.fixture def api(self): - return gamelocker.Gamelocker(self.apikey).vainglory() + return gamelocker.Gamelocker(self.apikey).Vainglory() def test_req(self, api): with pytest.raises(requests.exceptions.HTTPError): |
