Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant2math committed Dec 5, 2023
1 parent ea7c6c9 commit 28de37f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autotraders/map/waypoint_types/marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Activity(str, Enum):
WEAK = "WEAK"
GROWING = "GROWING"
STRONG = "STRONG"

RESTRICTED = "RESTRICTED"

class TradeGood(Item):
good_type: GoodType = Field(alias="type")
Expand Down
6 changes: 3 additions & 3 deletions autotraders/ship/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ def siphon(self):
quantity=j["data"]["siphon"]["yield"]["units"],
)

def refuel(self, units=None):
def refuel(self, from_cargo=False, units=None):
if units is None:
j = self.post("refuel")
j = self.post("refuel", data={"fromCargo": from_cargo})
else:
j = self.post("refuel", data={"units": units})
j = self.post("refuel", data={"units": units, "fromCargo": from_cargo})
self.update(j["data"])
return MarketTransaction(j["data"]["transaction"])

Expand Down
2 changes: 1 addition & 1 deletion autotraders/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.3.2"
__version__ = "2.3.3"
major_version = __version__.split(".")[0]
minor_version = __version__.split(".")[1]
patch_version = __version__.split(".")[2]

0 comments on commit 28de37f

Please sign in to comment.