From bea91309330b289b4f5921cd8b842f1089e68946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20M=C3=A4der?= <maeder@phys.ethz.ch> Date: Mon, 10 Feb 2020 18:42:32 +0100 Subject: [PATCH] Fix issue #1 --- rtlinks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtlinks.py b/rtlinks.py index e721382..7c6cdb5 100755 --- a/rtlinks.py +++ b/rtlinks.py @@ -65,7 +65,7 @@ class RTLinksPlugin(Plugin): api = '{}/REST/1.0/'.format(self.config['url']) api_edit = '{}ticket/{}/edit'.format(api, number) data = {'user': self.config['user'], 'pass': self.config['pass'], - 'content': 'Status: resolved'} + 'content': 'Status: {}'.format(status)} await self.http.post(api_edit, data=data, headers=headers) @command.passive("((^| )([rR][tT]#?))([0-9]{6})", multiple=True) -- GitLab