fix bug that made ppl unable to post images

master
Aevann1 2022-06-19 19:31:59 +02:00
parent 3eb788103c
commit 96163b17bb
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@ def submit_post(v, sub=None):
embed = str(int(id))
if not url and not request.values.get("body") and not request.files.get("file") and not request.files.get("file2"):
if not url and not request.values.get("body") and not request.files.get("file") and not request.files.get("file-url"):
return error("Please enter a url or some text.")
if not title: