Exemple #1
0
 def _getConfig(self):
     self._token = get_cfg_account_detail(self._account_id, "token")
     self._pincode = get_cfg_account_detail(self._account_id, "pincode")
     self._state = get_cfg_account_detail(self._account_id, "state")
     #
     token_exp = get_cfg_account_detail(self._account_id, "tokenexpiry")
     if bool(token_exp):
         self._tokenexpiry = datetime.datetime.strptime(token_exp, self._dateformat)
     else:
         self._tokenexpiry = False
Exemple #2
0
 def _pincode(self):
     return get_cfg_account_detail(self._account_id, "pincode")
Exemple #3
0
 def _dvc_name(self):
     return get_cfg_account_detail(self._account_id, "name")