Allow any item to be added to cargo (allows to distribute "refits" with fit)

This commit is contained in:
blitzmann
2014-05-03 21:21:21 -04:00
parent 89a8bde574
commit 8e9ea0a36b
2 changed files with 1 additions and 8 deletions

View File

@@ -26,9 +26,6 @@ from sqlalchemy.orm import validates, reconstructor
class Cargo(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
def __init__(self, item):
if item.category.name != "Charge":
raise ValueError("Passed item is not a charge")
self.__item = item
self.itemID = item.ID
self.active = True