X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FDeleteSliceTag.py;h=effb99ddc5c21813a124a2cb841088820a8af814;hb=e4810a38592de9abde703d1813412b46dcf27320;hp=6e62aa95c4b07b7ea0c860ef669097b18776275f;hpb=fba284dd68205aeecbefdfbb255be1dd3aa63583;p=plcapi.git diff --git a/PLC/Methods/DeleteSliceTag.py b/PLC/Methods/DeleteSliceTag.py index 6e62aa9..effb99d 100644 --- a/PLC/Methods/DeleteSliceTag.py +++ b/PLC/Methods/DeleteSliceTag.py @@ -41,7 +41,7 @@ class DeleteSliceTag(Method): raise PLCInvalidArgument, "No such slice attribute" slice_tag = slice_tags[0] - tag_type_id = node_tag['tag_type_id'] + tag_type_id = slice_tag['tag_type_id'] tag_type = TagTypes (self.api,[tag_type_id])[0] slices = Slices(self.api, [slice_tag['slice_id']])