This commit is contained in:
Nexus 2023-11-29 15:25:51 +00:00
parent e0aa5017df
commit e814bab1be
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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"