diff --git a/ce1808db00914c9f9d60b0b18b9906da.png b/ce1808db00914c9f9d60b0b18b9906da.png new file mode 100644 index 0000000..df3efa1 Binary files /dev/null and b/ce1808db00914c9f9d60b0b18b9906da.png differ diff --git a/joplinexport b/joplinexport index f9244ab..9b834a9 100755 --- a/joplinexport +++ b/joplinexport @@ -136,7 +136,7 @@ class JoplinExporter: """The main exporter class.""" content_dir = Path("content") - static_dir = Path("static/resources") + static_dir = Path("content/resources") joplin_dir = Path.home() / ".config/joplin-desktop" def __init__(self): @@ -192,13 +192,13 @@ class JoplinExporter: # Add the resource to the set of used resources, so we can only copy # the resources that are used. self.used_resources.add(resource_id) - return "resources/" + resource_id + resource.derived_ext + return "content/resources/" + resource_id + resource.derived_ext def copy_resources(self): """Copy all the used resources to the output directory.""" for resource_id in self.used_resources: resource = self.resources[resource_id] - print(f"{resource_id}.{resource.extension}") + print(f"Exporting Resource: {resource_id}.{resource.extension}") copy( self.joplin_dir / "resources" / (f"{resource_id}.{resource.extension}"), self.static_dir / f"{resource_id}{resource.derived_ext}", @@ -358,7 +358,7 @@ class JoplinExporter:

Last updated on {note.updated_time:%B %d, %Y}. For any questions/feedback, -email me at hi@stavros.io. +email me at blog@zinchuk.xyz.

""" )