Skip to content
Snippets Groups Projects
Commit e2f11888 authored by Andreas Domanowski's avatar Andreas Domanowski
Browse files

Do not add url to visit twice in free url migration

parent 6fbfe7cc
No related branches found
No related tags found
1 merge request!1Hedgedoc import
......@@ -70,7 +70,6 @@ def process_archive_export(archive_file, instance_url, lookup_map, session_id, u
try:
new_url = import_single_document(instance_url, lookup_map[document_title], document_content,
session_id)
urls_to_visit.append(new_url)
print(f"Migration was possible. New URL: {instance_url}/{lookup_map[document_title]}")
except HTTPError as error:
if error.status == 409:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment