Example #1
0
class App:
    def __init__(self):
        self.authObject = Auth()
        self.credentials = self.authObject.authenticate()

    def deleteCredentials(self):
        if not (self.authObject.SAVE_CREDENTIALS):
            if (os.path.exists('data/secrets.json')):
                os.remove('data/secrets.json')