fix iniparse
lint / docker (push) Successful in 9m14s

fix code passing ruff linter
pre-commit ruff
pre-commit ruff format
This commit is contained in:
2024-11-29 23:45:40 +01:00
parent aa8a68aa80
commit 737f9bea38
27 changed files with 2375 additions and 2016 deletions
-3
View File
@@ -375,10 +375,8 @@ def run_command(cmd, info=""):
def check_mount_disk(partition_name, refresh):
mount_point = check_already_mount(partition_name, refresh)
if not refresh:
mount_point = "/mnt/TISBACKUP-" + str(time.time())
os.mkdir(mount_point)
flash("must mount " + partition_name)
@@ -425,7 +423,6 @@ def last_backup():
@app.route("/export_backup")
def export_backup():
raise_error("", "")
backup_dict = read_config()
sections = []