Initializes GEDCOM to Markdown converter project #1

Merged
AlexKucera merged 29 commits from initial_features into main 2025-11-02 17:47:20 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 6d7a41fc88 - Show all commits

No files matched your search

+1 -1
View File
1
@@ -67,7 +67,7 @@ class IndexGenerator:
current_letter = "" current_letter = ""
for individual in sorted_individuals: for individual in sorted_individuals:
first, last = individual.get_names() _, last = individual.get_names()
# Write letter header if changed # Write letter header if changed
if last: if last:
+1 -1
View File
2
@@ -485,7 +485,7 @@ class MarkdownGenerator:
paths.append(path) paths.append(path)
except Exception as e: except Exception as e:
logger.exception( logger.exception(
f"Failed to generate note for {individual.get_full_name()}: {e}" f"Failed to generate note for {individual.get_full_name()}"
) )
logger.info(f"Successfully generated {len(paths)} notes") logger.info(f"Successfully generated {len(paths)} notes")
+1 -1
View File
@@ -57,7 +57,7 @@ class TestLineEndingFixes:
assert b'\r' in original_content # Has CR assert b'\r' in original_content # Has CR
# Parse the file (should trigger line ending fix) # Parse the file (should trigger line ending fix)
parser = GedcomParser(sample_gedcom_cr_only) _parser = GedcomParser(sample_gedcom_cr_only)
# Read the fixed content # Read the fixed content
fixed_content = sample_gedcom_cr_only.read_bytes() fixed_content = sample_gedcom_cr_only.read_bytes()