We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f49315 commit edfe83fCopy full SHA for edfe83f
1 file changed
htpclient/initialize.py
@@ -158,10 +158,10 @@ def __check_token(self, args):
158
ans = req.execute()
159
if ans is None:
160
logging.error("Request failed!")
161
- self.__check_token()
+ self.__check_token(args)
162
elif ans['response'] != 'SUCCESS' or not ans['token']:
163
logging.error("Registering failed: " + str(ans))
164
165
else:
166
token = ans['token']
167
self.config.set_value('voucher', '')
0 commit comments