diff --git a/rt2zammad.py b/rt2zammad.py index 779d3b0..b3b5057 100755 --- a/rt2zammad.py +++ b/rt2zammad.py @@ -21,7 +21,11 @@ class Tag(Resource): def add(self, obj, id, item): response = self._connection.session.post( self.url + "/add", - data={"object": obj, "id": id, "item": item} + data={ + "object": obj, + "id": id, + "item": item, + }, ) return self._raise_or_return_json(response) @@ -187,7 +191,6 @@ def get_user(userdata, attr="login", default=None): return USERMAP[lemail].get(attr, default) - # Create tickets for ticket in tickets: label = "RT-{}".format(ticket["ticket"]["original_id"])