From e13c4ee429624308b6ad2b925f5ee015ac183fa1 Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 30 Sep 2023 17:53:16 +0200 Subject: [PATCH] j'y crois tellement que je push --- V6.py | 4 +++- modules/imports.py | 1 + version | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/V6.py b/V6.py index 32de9d9..5acb1d1 100755 --- a/V6.py +++ b/V6.py @@ -829,6 +829,7 @@ def very_custom_start(json): config = int(json[config]) # definir cred for i in range(5): + cred = g._cred[i] g._mail = cred[0] g._password = cred[1] for j in ["unban", "tout", "pc", "mobile", "log_points"]: @@ -869,7 +870,8 @@ def very_custom_start(json): display.stop() if g.very_custom : - very_custom_start(dict(g.very_custom)) + dict_data = json.loads(g.very_custom.replace("'", "\"")) + very_custom_start(dict_data) else : if g.vnc_enabled or g.dev: diff --git a/modules/imports.py b/modules/imports.py index 941b4ba..1395603 100644 --- a/modules/imports.py +++ b/modules/imports.py @@ -1,5 +1,6 @@ import argparse import asyncio +import json import configparser import pickle from csv import reader diff --git a/version b/version index 82a8346..6dcca5d 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.30 +v6.6.31