diff --git a/credentials.py b/credentials.py index 566a6a7..b323128 100644 --- a/credentials.py +++ b/credentials.py @@ -61,12 +61,18 @@ class Credentials_Module(): if file.lower().find("twitch") != -1: credential_loading_function = self.credentialLoadingFunctions.get(Credential.Twitch_Credential) output = credential_loading_function(self, file) + if output is not None: + self.Twitch_Credentials_List.append(output) if file.lower().find("discord") != -1: credential_loading_function = self.credentialLoadingFunctions.get(Credential.Discord_Credential) output = credential_loading_function(self, file) + if output is not None: + self.Discord_Credentials_List.append(output) if file.lower().find("db") != -1: credential_loading_function = self.credentialLoadingFunctions.get(Credential.DB_Credential) output = credential_loading_function(self, file) + if output is not None: + self.DB_Credentials_List.append(output) def list_credential_files(self): credentialPath = self.get_credentials_dir()