From b72a88e9a1a3c94b1b86a35ca907ea6117fb3366 Mon Sep 17 00:00:00 2001 From: rootcoma Date: Tue, 3 Dec 2013 06:38:59 -0800 Subject: [PATCH 1/2] Add colors to remaining kaos hints ',' --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 5eb6abc..a0102e6 100644 --- a/plugin.py +++ b/plugin.py @@ -1464,7 +1464,7 @@ class TriviaTime(callbacks.Plugin): if len(self.answers) > 1: if self.shownHint == False: self.shownHint = True - self.sendMessage(self.getHintString(self.hintsCounter-1)) + self.sendMessage('\x02\x0312' + self.getHintString(self.hintsCounter-1)) def loadGameState(self): gameInfo = self.storage.getGame(self.channel) From 2521c9cb6f87da89688ab54642f112373749dfae Mon Sep 17 00:00:00 2001 From: rootcoma Date: Tue, 3 Dec 2013 06:41:28 -0800 Subject: [PATCH 2/2] Changing to string formatting --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index a0102e6..05ca1ef 100644 --- a/plugin.py +++ b/plugin.py @@ -1464,7 +1464,7 @@ class TriviaTime(callbacks.Plugin): if len(self.answers) > 1: if self.shownHint == False: self.shownHint = True - self.sendMessage('\x02\x0312' + self.getHintString(self.hintsCounter-1)) + self.sendMessage('\x02\x0312%s' % (self.getHintString(self.hintsCounter-1))) def loadGameState(self): gameInfo = self.storage.getGame(self.channel)