Fix 404 image cause bot dead

This commit is contained in:
2022-12-03 12:01:38 +08:00
parent e5a404727b
commit d5df4a218d
2 changed files with 8 additions and 0 deletions

View File

@@ -291,6 +291,8 @@ class main:
if fileEntry.connect_error:
continue
else:
f = False
text.addtotext2(di['caption'])
break
should_use_file = False if not config.send_img_as_file else True
is_supported_photo = None