diff --git a/autotraders/agent.py b/autotraders/agent.py index 1c79f33..d04497b 100644 --- a/autotraders/agent.py +++ b/autotraders/agent.py @@ -27,5 +27,5 @@ def update(self, data=None): self.headquarters = MapSymbol(data["headquarters"]) self.credits = data["credits"] self.starting_faction = data["startingFaction"] - self.ships = Ship.all(self.session) - self.contracts = Contract.all(self.session) + self.ships = Ship.all(self.session)[0] + self.contracts = Contract.all(self.session)[0] diff --git a/pyproject.toml b/pyproject.toml index bb312e3..8301b5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "autotraders" -version = "1.3.0" +version = "1.3.1" authors = [ { name="Ashwin Naren", email="arihant2math@gmail.com" }, ] diff --git a/source/conf.py b/source/conf.py index 3471fde..b282688 100644 --- a/source/conf.py +++ b/source/conf.py @@ -12,7 +12,7 @@ project = "Autotraders" copyright = "2023, cosmictraders" author = "cosmictraders" -release = "1.3.0" +release = "1.3.1" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration