Remove empty _random_string declaration

This commit is contained in:
jesopo 2019-05-30 17:27:48 +01:00
parent 0e6bcb5af0
commit f7f476e40b

View file

@ -51,8 +51,6 @@ class Module(ModuleManager.BaseModule):
(None, None)) (None, None))
return hash, salt return hash, salt
def _random_string(self, n):
def _make_salt(self): def _make_salt(self):
return base64.b64encode(os.urandom(64)).decode("utf8") return base64.b64encode(os.urandom(64)).decode("utf8")