summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsrcek <p.srcek@gmail.com>2016-06-22 15:48:20 +0200
committerGitHub <noreply@github.com>2016-06-22 15:48:20 +0200
commita2daa5c0b67c09470050b2a050b2cb4173a36383 (patch)
tree11c121956811c0f569d76d55335f243fe8d82f98
parent5da7180bfd89e8fe3ac57a84ba3a2d027bdb1715 (diff)
removed unnecesarry str calls
-rw-r--r--saylol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/saylol.py b/saylol.py
index 0d74506..84172af 100644
--- a/saylol.py
+++ b/saylol.py
@@ -84,7 +84,7 @@ def on_lol_command(sender, command, label, args):
if offset > len(lols):
msg(sender, "&cNot a valid page (too high).")
return True
- msg(sender, " &9&nLol list page %s/%s" % (str(arg1 + 1), str(int(math.ceil(len(lols) / float(list_limit)))))) #"\t" symbol displays weirdly, hence the 4 spaces
+ msg(sender, " &9&nLol list page %s/%s" % (arg1 + 1, int(math.ceil(len(lols) / float(list_limit))))) #"\t" symbol displays weirdly, hence the 4 spaces
for i in range(offset, min(offset + list_limit, len(lols))):
msg(sender, "&a%s: &e%s" % (str(i).rjust(3), lols[i]))
msg(sender, "")