last round of .format conversion for string formatting.
This commit is contained in:
parent
0aa2185ede
commit
015dd93df3
11 changed files with 45 additions and 45 deletions
|
@ -37,7 +37,7 @@ def getSoundInfo(url, inp, jsondata=False):
|
|||
else:
|
||||
text = textsplit[i]
|
||||
if not jsondata:
|
||||
return "%s - %s %s" % (newdata[0]["who"],
|
||||
return "{} - {} {}".format(newdata[0]["who"],
|
||||
text if len(text) < 325 else text[:325] + "...",
|
||||
web.try_isgd(
|
||||
url + newdata[0]["id"] if not dostream else url + "sound.php?id=" + newdata[0][
|
||||
|
|
Reference in a new issue