mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
9 lines
256 B
Python
9 lines
256 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
# Permet de générer le hash pour le password
|
|
import sys
|
|
path=sys.argv[2]
|
|
sys.path.append(path)
|
|
from werkzeug.security import generate_password_hash
|
|
password=sys.argv[1]
|
|
print generate_password_hash(password)
|