def oath(self):
    if (self.twofa is not None):
        return self.totp(self.twofa)
    else:
        raise ExchangeError((self.id + ' set .twofa to use this feature'))
def oath(self):
    if (self.twofa is not None):
        return self.totp(self.twofa)
    else:
        raise ExchangeError((self.id + ' set .twofa to use this feature'))