diff options
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-x | Demo/pdist/security.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/pdist/security.py b/Demo/pdist/security.py index f9936828a4..0ffd511a07 100755 --- a/Demo/pdist/security.py +++ b/Demo/pdist/security.py @@ -22,8 +22,8 @@ class Security: raise IOError, "python keyfile %s: cannot open" % keyfile def _generate_challenge(self): - import whrandom - return whrandom.randint(100, 100000) + import random + return random.randint(100, 100000) def _compare_challenge_response(self, challenge, response): return self._encode_challenge(challenge) == response |