From e36c614275cd513a65b9fc0f1334cc28f70246bf Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 15 Jun 2011 00:06:28 +0400 Subject: [PATCH] Set owner before adding module to fit (new db structure needs it) --- service/fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/fit.py b/service/fit.py index 93659c442..5aaeb3eda 100644 --- a/service/fit.py +++ b/service/fit.py @@ -304,7 +304,7 @@ class Fit(object): fit.modules.freeSlot(m.getModifiedItemAttr("subSystemSlot")) if m.fits(fit): - + m.owner = fit numSlots = len(fit.modules) fit.modules.append(m) if m.isValidState(State.ACTIVE):