Skip to content

Commit

Permalink
Fix KeyError when running document command (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 authored Nov 6, 2023
1 parent fa9d2f1 commit 3868aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weasel/cli/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def project_document(
marker_tag_found = False
for marker_tag in MARKER_TAGS:
markers = {
"start": MARKER_START.format(marker_tag),
"end": MARKER_END.format(marker_tag),
"start": MARKER_START.format(tag=marker_tag),
"end": MARKER_END.format(tag=marker_tag),
}
if markers["start"] in existing and markers["end"] in existing:
marker_tag_found = True
Expand Down

0 comments on commit 3868aab

Please sign in to comment.