Skip to content

Commit

Permalink
fix: Only match draft docs to rfc index draft name
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Aug 10, 2023
1 parent c37e3b4 commit eaf8d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/sync/rfceditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def update_docs_from_rfc_index(

if draft_name:
try:
draft = Document.objects.get(name=draft_name)
draft = Document.objects.get(name=draft_name, type_id="draft")
except Document.DoesNotExist:
pass
else:
Expand Down

0 comments on commit eaf8d45

Please sign in to comment.