This commit is contained in:
Aevann1 2021-09-10 05:03:37 +02:00
parent 358a262262
commit e847708659
5 changed files with 39 additions and 76 deletions

View file

@ -1250,5 +1250,5 @@ def multiple_plots(**kwargs):
plt.savefig("image.png")
plt.clf()
if "pcmemes.net" in request.host: return upload_ibb("image.png")
else: return upload_imgur("image.png")
if "pcmemes.net" in request.host: return upload_ibb(filepath="image.png")
else: return upload_imgur(filepath="image.png")