decp.info => colibre
This commit is contained in:
+2
-2
@@ -46,11 +46,11 @@ def main(argv=None, env=None, storage=None) -> int:
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
if args.cmd == "restore":
|
if args.cmd == "restore":
|
||||||
print("⚠ Arrêtez d'abord le service : systemctl stop decpinfo")
|
print("⚠ Arrêtez d'abord le service : systemctl stop colibre")
|
||||||
backup_copy = service.restore(config, storage, args.key, now)
|
backup_copy = service.restore(config, storage, args.key, now)
|
||||||
print(f"restauré depuis : {args.key}")
|
print(f"restauré depuis : {args.key}")
|
||||||
print(f"copie de secours de l'ancienne base : {backup_copy}")
|
print(f"copie de secours de l'ancienne base : {backup_copy}")
|
||||||
print("Redémarrez ensuite le service : systemctl start decpinfo")
|
print("Redémarrez ensuite le service : systemctl start colibre")
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ def layout(**query):
|
|||||||
|
|
||||||
prefill: dict = {}
|
prefill: dict = {}
|
||||||
try:
|
try:
|
||||||
prefill = frisbii_client.get_customer(f"decpinfo-{current_user.id}")
|
prefill = frisbii_client.get_customer(f"colibre-{current_user.id}")
|
||||||
except frisbii_client.FrisbiiError:
|
except frisbii_client.FrisbiiError:
|
||||||
prefill = {}
|
prefill = {}
|
||||||
stored_siret = auth_db.get_siret(current_user.id) or ""
|
stored_siret = auth_db.get_siret(current_user.id) or ""
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ subscriptions_bp = Blueprint("subscriptions", __name__)
|
|||||||
|
|
||||||
|
|
||||||
def _customer_handle(user_id: int) -> str:
|
def _customer_handle(user_id: int) -> str:
|
||||||
return f"decpinfo-{user_id}"
|
return f"colibre-{user_id}"
|
||||||
|
|
||||||
|
|
||||||
@subscriptions_bp.route("/subscriptions/subscribe", methods=["POST"])
|
@subscriptions_bp.route("/subscriptions/subscribe", methods=["POST"])
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user