diff --git a/import_md/hedgedoc_import.py b/import_md/hedgedoc_import.py index 971e9b37afbabfe9c8d207e0d298d04f8851aade..c14100a034c2c3d2f5e9ab3c36f1d2a24b970b9c 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