Fixed Inconsistency
This commit is contained in:
parent
07a48e0aa7
commit
14894e9aed
5
main.py
5
main.py
@ -25,8 +25,6 @@ def new_main(inputArg):
|
||||
|
||||
|
||||
def twitch_module_init(dbCert, twitchCert):
|
||||
|
||||
twitch_chat = twitch_script.Twitch_Module()
|
||||
twitch_chat.db_manager.setup_engine(dbCert)
|
||||
twitch_chat.twitchCredential = twitchCert
|
||||
|
||||
@ -34,7 +32,6 @@ def twitch_module_init(dbCert, twitchCert):
|
||||
|
||||
|
||||
def discord_module_init(dbCert, discordCert):
|
||||
#discord_connection = discord_script.Discord_Module()
|
||||
discord_connection.dbCredential = dbCert
|
||||
discord_connection.discordCredential = discordCert
|
||||
|
||||
@ -47,7 +44,9 @@ def thread_main():
|
||||
global credentials_manager
|
||||
global discord_connection
|
||||
|
||||
twitch_chat = twitch_script.Twitch_Module()
|
||||
discord_connection = discord_script.Discord_Module()
|
||||
|
||||
credentials_manager = credentials.Credentials_Module()
|
||||
|
||||
credentials_manager.load_credentials()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user