mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
936aa385df
commit
fdd06256bf
@ -90,7 +90,7 @@ class Search():
|
||||
|
||||
def search_handler(self, searchdict):
|
||||
try:
|
||||
results = requests.get(searchdict["searchurl"], headers=self.header).json()
|
||||
results = requests.get(searchdict["searchurl"], headers=self.header).text()
|
||||
except Exception as e:
|
||||
results = e
|
||||
logs.log('SpiceBot_Search', str(e))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user