Fix crash caused by variable initailise
This commit is contained in:
parent
f5e5e6fb4f
commit
985db37be2
1 changed files with 2 additions and 2 deletions
2
bot.py
2
bot.py
|
@ -87,6 +87,7 @@ class Bot:
|
|||
self.import_keys_password = import_keys_password
|
||||
self.flowise_api_url = flowise_api_url
|
||||
self.flowise_api_key = flowise_api_key
|
||||
self.pandora_api_endpoint = pandora_api_endpoint
|
||||
|
||||
self.session = aiohttp.ClientSession()
|
||||
|
||||
|
@ -184,7 +185,6 @@ class Bot:
|
|||
|
||||
# initialize pandora
|
||||
if pandora_api_endpoint is not None:
|
||||
self.pandora_api_endpoint = pandora_api_endpoint
|
||||
self.pandora = Pandora(
|
||||
api_endpoint=pandora_api_endpoint, clientSession=self.session
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue