From 218dbab680860fbf44dd4060f7b5d473ed62b2c8 Mon Sep 17 00:00:00 2001
From: Andreas Domanowski <andreas@domanowski.net>
Date: Thu, 2 Mar 2023 13:01:01 +0100
Subject: [PATCH] Add block heading when iterating over archive

---
 import_md/hedgedoc_import.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/import_md/hedgedoc_import.py b/import_md/hedgedoc_import.py
index 971e9b3..c14100a 100644
--- a/import_md/hedgedoc_import.py
+++ b/import_md/hedgedoc_import.py
@@ -68,6 +68,7 @@ def process_archive_export(archive_file, instance_url, lookup_map, session_id, u
         print("If you visited your own document via a, e.g., \"codi-instance.tld/my_specified_free_url\" " +
               "this script tries to migrate it to the HedgeDoc instance at \"hedgedoc-instance.tld/my_own_path\"")
         print("If this is not possible, a new random URL for the document will be created")
+        print_block_heading("Iterating over files in archive and trying to upload them")
         for file in zf.namelist():
             document_title = Path(file).stem
             # check for every file if there is a match between its name (= title in history json) and an existing path
-- 
GitLab