Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
0xabu committed Aug 10, 2023
1 parent 3834b4f commit f86414c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdfannots/printer/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def fmt_header(name: str, level: int = 2) -> str:
nits = []
comments = []
highlights = [] # When grouping by color, this holds only the undefined annotations
highlights_by_color: typ.DefaultDict[typ.RGB, typ.List[Annotation]] = defaultdict(list)
highlights_by_color: typ.DefaultDict[RGB, typ.List[Annotation]] = defaultdict(list)

for a in document.iter_annots():
if a.subtype in self.ANNOT_NITS:
Expand Down

0 comments on commit f86414c

Please sign in to comment.