Strip steam username to remove extra spaces

This commit is contained in:
Luke Rogers 2013-08-01 23:00:04 +12:00
parent 150e6acda7
commit 2c0879f972

View file

@ -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):