fix code passing ruff linter pre-commit ruff pre-commit ruff format
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user