From 086dce8fb66fb3e8e75563a8ff932082e62c3547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 30 Dec 2020 09:45:36 +0100 Subject: [PATCH] Black code --- rt2zammad.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"])