TypeError: 'module' object is not callable


  • Hello,

    I am getting this error :
    Traceback (most recent call last):

    data = obj.generateSession("S50905755", "<4 digit pin>", pyotp.totp("FPDMSKC4MIXXXXXXXXX3PA"))
    TypeError: 'module' object is not callable

    My client id is S50905755

    Kindly let me know if there is any solution for this