mirror of
				https://github.com/tanrax/notion-to-joplin.git
				synced 2025-11-04 04:55:55 +01:00 
			
		
		
		
	Fix slash path
This commit is contained in:
		@@ -52,7 +52,7 @@ for filename in glob.iglob(path_to_files, recursive=True):
 | 
			
		||||
    with open(filename, "r") as file:
 | 
			
		||||
        # Get the heading
 | 
			
		||||
        first_line = file.readline()
 | 
			
		||||
        heading = first_line.replace("# ", "").replace("\n", "")
 | 
			
		||||
        heading = first_line.replace("# ", "").replace("\n", "").replace("/", "-")
 | 
			
		||||
        # Delete two first lines
 | 
			
		||||
        lines = file.readlines()
 | 
			
		||||
        lines_without_heading = lines[1:]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user