Compare commits

..

No commits in common. "009595354e3d0f10a27587eb2913094c29d60411" and "8c64711e1cb9d74cc9545b5cb4065bff5b7b0bbd" have entirely different histories.

2 changed files with 0 additions and 8 deletions

View file

@ -88,8 +88,6 @@ def dump_settings(filename: str) -> None:
@app.route('/')
@app.route('/index')
def index():
if get_setting("first_setup") == "true":
return redirect(url_for('first_setup'))
enable_chat = get_setting("enable_chat")
enable_file_viewer = get_setting("enable_file_viewer")
enable_deltachat = get_setting("enable_deltachat")

View file

@ -1,7 +1,6 @@
import pexpect
import json
from app import app
from subprocess import run
def run_madmail_installer():
with open("./settings.txt", "r") as f:
@ -70,8 +69,3 @@ def run_madmail_installer():
child.expect("Enable logging for the server")
child.sendline("y")
child.expect(pexpect.EOF)
daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True)
if daemon_reload.returncode != 0:
print(f"Issue running systemctl daemon_reload")