mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Help????
This commit is contained in:
parent
e0aa5017df
commit
e814bab1be
1 changed files with 2 additions and 1 deletions
|
@ -1878,7 +1878,8 @@ class OtherCog(commands.Cog):
|
||||||
|
|
||||||
model = model.casefold()
|
model = model.casefold()
|
||||||
try:
|
try:
|
||||||
model.split(":", 1)
|
model, tag = model.split(":", 1)
|
||||||
|
model = model + ":" + tag
|
||||||
print("Model %r already has a tag")
|
print("Model %r already has a tag")
|
||||||
except ValueError:
|
except ValueError:
|
||||||
model = model + ":latest"
|
model = model + ":latest"
|
||||||
|
|
Loading…
Reference in a new issue