Skip to content

Commit f02b860

Browse files
committed
Fix bug introduced with generic states
- Legacy-Id: 3806
1 parent 87e87cf commit f02b860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/idrfc/mirror_rfc_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def insert_to_databaseREDESIGN(data):
243243
changed = True
244244

245245
if doc.get_state_slug() != "rfc":
246-
doc.set_state(State.objects.filter(type="draft", slug="rfc"))
246+
doc.set_state(State.objects.get(type="draft", slug="rfc"))
247247
changed = True
248248

249249
if doc.stream != stream_mapping[stream]:

0 commit comments

Comments
 (0)