This commit is contained in:
deathbybandaid 2019-09-23 10:24:21 -04:00
parent 936aa385df
commit fdd06256bf

View File

@ -90,7 +90,7 @@ class Search():
def search_handler(self, searchdict): def search_handler(self, searchdict):
try: try:
results = requests.get(searchdict["searchurl"], headers=self.header).json() results = requests.get(searchdict["searchurl"], headers=self.header).text()
except Exception as e: except Exception as e:
results = e results = e
logs.log('SpiceBot_Search', str(e)) logs.log('SpiceBot_Search', str(e))