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

Fix path to visitable URLs

parent 4138d828
No related branches found
No related tags found
1 merge request!1Hedgedoc import
#!/bin/bash
script_directory=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
url_file=$script_directory/../hedgedoc_documents_to_visit.url
url_file=$script_directory/hedgedoc_documents_to_visit.url
echo "Please specify which browser should be used to access the newly created documents"
echo "This browser needs to have an active and logged-in HedgeDoc session."
echo "ATTENTION: your input will be evaluated as part of a shell script"
......
......@@ -46,7 +46,7 @@ def import_into_hedgedoc(instance_url, session_id, export_folder, archive_file):
urls_to_visit = []
process_archive_export(archive_file, instance_url, lookup_map, session_id, urls_to_visit)
create_urls_to_visit_file("../hedgedoc_documents_to_visit.url", urls_to_visit)
create_urls_to_visit_file("history_scripts/hedgedoc_documents_to_visit.url", urls_to_visit)
def process_archive_export(archive_file, instance_url, lookup_map, session_id, urls_to_visit):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment