From 2c0879f972f5c1316a5ba1dbf957285ed8b08bd6 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Thu, 1 Aug 2013 23:00:04 +1200 Subject: [PATCH] Strip steam username to remove extra spaces --- plugins/steam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/steam.py b/plugins/steam.py index 8f6e9c8..7c151fd 100644 --- a/plugins/steam.py +++ b/plugins/steam.py @@ -107,7 +107,7 @@ def steamcalc(inp, nick='', db=None): if not worth and not timeonsteam and not gamesplayed: return "I couldn't read the information for that user. %s" % web.try_isgd(url) - return u"%s (%s): %s%s%s%s" % (name, status, worth, timeonsteam, gamesplayed, web.try_isgd(url)) + return u"%s (%s): %s%s%s%s" % (name.strip(), status, worth, timeonsteam, gamesplayed, web.try_isgd(url)) def get_steam_info(url):