2
0
mirror of https://github.com/Nick80835/microbot synced 2025-09-01 06:55:51 +00:00

use bing for howdoi

This commit is contained in:
Nick80835
2020-05-24 16:44:39 -04:00
parent 3a7769cfc7
commit a8c8d4a25c

View File

@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
import os
import re import re
from howdoi import howdoi from howdoi import howdoi
@@ -7,6 +8,7 @@ from howdoi import howdoi
from ubot.micro_bot import micro_bot from ubot.micro_bot import micro_bot
ldr = micro_bot.loader ldr = micro_bot.loader
os.environ["HOWDOI_SEARCH_ENGINE"] = "bing"
@ldr.add("hdi") @ldr.add("hdi")