From cfa6b468a7c406d6e9e1df192256d4f2ff0483d6 Mon Sep 17 00:00:00 2001 From: Robert Mikes Date: Mon, 10 Jun 2024 02:11:03 +0800 Subject: [PATCH] Correct typo in views.py --- bots/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/views.py b/bots/views.py index 3c8655fe..449378c4 100755 --- a/bots/views.py +++ b/bots/views.py @@ -444,7 +444,7 @@ def plugin(request,*kw,**kwargs): if pluglib.read_plugin(request.FILES['file'].temporary_file_path()): messages.add_message(request, messages.INFO, _(u'Overwritten existing files.')) except Exception as msg: - notification = -(u'Error reading plugin: "%s".')%unicode(msg) + notification = _(u'Error reading plugin: "%s".')%unicode(msg) botsglobal.logger.error(notification) messages.add_message(request, messages.INFO, notification) else: