mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
V5.2.6
This commit is contained in:
12
README.md
12
README.md
@@ -127,18 +127,8 @@ Pour Les prochains lancement de defender vous devez utiliser la commande suivant
|
|||||||
"SERVICE_HOST": "HOST.DE.TON.DEFENDER",
|
"SERVICE_HOST": "HOST.DE.TON.DEFENDER",
|
||||||
|
|
||||||
"OWNER": "TON_NICK_NAME",
|
"OWNER": "TON_NICK_NAME",
|
||||||
"PASSWORD": "admin",
|
"PASSWORD": "admin"
|
||||||
|
|
||||||
"CONFIG_COLOR": {
|
|
||||||
"blanche": "\\u0003\\u0030",
|
|
||||||
"noire": "\\u0003\\u0031",
|
|
||||||
"bleue": "\\u0003\\u0020",
|
|
||||||
"verte": "\\u0003\\u0033",
|
|
||||||
"rouge": "\\u0003\\u0034",
|
|
||||||
"jaune": "\\u0003\\u0036",
|
|
||||||
"gras": "\\u0002",
|
|
||||||
"nogc": "\\u0002\\u0003"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -184,6 +184,9 @@ class Config:
|
|||||||
print(f'FileNotFound: {fe}')
|
print(f'FileNotFound: {fe}')
|
||||||
print('Configuration file not found please create core/configuration.json')
|
print('Configuration file not found please create core/configuration.json')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
except KeyError as ke:
|
||||||
|
print(f'Key Error: {ke}')
|
||||||
|
print('The key must be defined in core/configuration.json')
|
||||||
|
|
||||||
def __load_service_configuration(self) -> ConfigDataModel:
|
def __load_service_configuration(self) -> ConfigDataModel:
|
||||||
import_config = self.__load_json_service_configuration()
|
import_config = self.__load_json_service_configuration()
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "5.2.5"
|
"version": "5.2.6"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user