From 86d058237b336516d2e5009072a4365b5bf7380b Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 9 Nov 2018 19:56:09 +0100 Subject: elif amount reduction * reduced amount of unnecessary elif after return * some formatting --- common/strings.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'common/strings.py') diff --git a/common/strings.py b/common/strings.py index 7a10471..6f1b629 100644 --- a/common/strings.py +++ b/common/strings.py @@ -13,11 +13,13 @@ class StaticAnswers: 'version': '!version domain.tld -- receive XMPP server version', 'uptime': '!uptime domain.tld -- receive XMPP server uptime', 'contact': '!contact domain.tld -- receive XMPP server contact address info', - 'xep': '!xep XEP Number -- recieve information about the specified XEP'} + 'xep': '!xep XEP Number -- recieve information about the specified XEP' + } self.possible_answers = { '1': 'I heard that, %s.', '2': 'I am sorry for that %s.', - '3': '%s did you try turning it off and on again?'} + '3': '%s did you try turning it off and on again?' + } self.error_messages = { '1': 'not reachable', '2': 'not a valid target' -- cgit v1.2.3-54-g00ecf