review fix

This commit is contained in:
Spitap
2022-11-03 10:54:06 +01:00
parent 5c9d5c9a03
commit 554611b366
6 changed files with 21 additions and 17 deletions

View File

@@ -1,6 +1,8 @@
import random
import string
from constants import DEFAULT_BACKUP_DIRECTORY
def make_password(length=16):
"""Create a random password."""
@@ -441,10 +443,10 @@ ConfigDictTemplate = [
},
{
"name": "backup",
"values": [
"values": [
{
"option": "default_path",
"default": "./modoboa_backup/"
"default": DEFAULT_BACKUP_DIRECTORY
}
]
}