fix database path

This commit is contained in:
Spitap
2022-10-25 13:59:28 +02:00
parent 35778cd614
commit e34eb4b337

View File

@@ -177,7 +177,7 @@ class Backup:
def database_dump(self, app_name):
dump_path = os.path.join(self.backup_path, "backup")
dump_path = os.path.join(self.backup_path, "databases")
backend = database.get_backend(self.config)
if app_name == "modoboa" or (self.config.has_option(app_name, "enabled") and