more .format.
This commit is contained in:
parent
7ab4f756fe
commit
0aa2185ede
15 changed files with 41 additions and 49 deletions
|
@ -20,7 +20,7 @@ def check_url(code):
|
|||
|
||||
|
||||
def make_url(code):
|
||||
return "http://puu.sh/" + code
|
||||
return "http://puu.sh/{}".format(code)
|
||||
|
||||
|
||||
@hook.command(autohelp=False)
|
||||
|
|
Reference in a new issue