diff --git a/src/core/pyros_django/img_process/A_ImgProcessor.py b/src/core/pyros_django/img_process/A_ImgProcessor.py index 4551f47..46442b2 100755 --- a/src/core/pyros_django/img_process/A_ImgProcessor.py +++ b/src/core/pyros_django/img_process/A_ImgProcessor.py @@ -477,7 +477,7 @@ class A_ImgProcessor(Agent): fname = self._ima.naming_set(param_img) fname = self._ima.join(fname) - image_db.set_attribute_and_save(self._ima, plan_id=image_db.plan.id) + image_db.set_attribute_and_save(img_obj=self._ima, plan_id=image_db.plan.id) #self._ima.save(fname) if param_img['ftype'] == "L1A" or param_img['ftype'] == "L1B": @@ -491,7 +491,7 @@ class A_ImgProcessor(Agent): param_img['ftype'] = 'L1B' fname = self._ima.naming_set(param_img) fname = self._ima.join(fname) - image_db.set_attribute_and_save(self._ima, plan_id=image_db.plan.id) + image_db.set_attribute_and_save(img_obj=self._ima, plan_id=image_db.plan.id) #self._ima.save(fname) # - TODO Resampling (img_L1c) -- libgit2 0.21.2