mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Set default argument value.
Without this features/feature_mechanisms/mechanisms.py throws an error when calling the method `process' without arguments on this mechanism.
This commit is contained in:
parent
25f87607aa
commit
5f1d4ce433
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class CRAM_MD5(Mechanism):
|
||||||
if 'savepass' not in self.values:
|
if 'savepass' not in self.values:
|
||||||
del self.values['password']
|
del self.values['password']
|
||||||
|
|
||||||
def process(self, challenge):
|
def process(self, challenge=None):
|
||||||
"""
|
"""
|
||||||
"""
|
"""
|
||||||
if challenge is None:
|
if challenge is None:
|
||||||
|
|
Loading…
Reference in a new issue