diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index 07fd0784e..8aab44e30 100755 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -353,7 +353,11 @@ class Fit(object): d.amount = int(hardware.getAttribute("qty")) f.drones.append(d) else: - m = Module(item) + try: + m = Module(item) + # When item can't be added to any slot (unknown item or just charge), ignore it + except ValueError: + continue if m.isValidState(State.ACTIVE): m.state = State.ACTIVE