Commit dd34dd2d authored by Michal Čihař's avatar Michal Čihař

No need for explicit seed, it is called on module import

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent d5e7ba0d
......@@ -40,7 +40,6 @@ class Command(BaseCommand):
@staticmethod
def make_password(length):
chars = string.ascii_letters + string.digits + '!@#$%^&*()'
random.seed()
return ''.join(random.choice(chars) for i in range(length))
def handle(self, *args, **options):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment