Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9320815d3f |
@ -320,7 +320,7 @@ def create_admin_commands():
|
||||
if image is not None and image.url is not None:
|
||||
b = await download_image_bytes(image.url)
|
||||
image_manager.remove_puzzle_image(p.img_name)
|
||||
image_manager.upload_puzzle_image(b.unwrap())
|
||||
p.img_name = image_manager.upload_puzzle_image(b.unwrap())
|
||||
elif remove_image.available:
|
||||
image_manager.remove_puzzle_image(p.img_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user