Skip to content

Commit

Permalink
use hash solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Brechbuhler committed Sep 2, 2016
1 parent 160750b commit 60fa5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebu_tt_live/documents/ebutt3.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def _insert_or_discard(self, document):
# This loop goes backwards and checks for trimmed documents

# We cannot have two documents with the same sequence number
if item.document.sequence_number == document.sequence_number and not item.document.is_equal_dom(document):
if item.document.sequence_number == document.sequence_number and not item.document.has_same_hash(document):
raise SequenceNumberAlreadyUsedError(
ERR_SEQUENCE_NUMBER_ALREADY_USED
)
Expand Down

0 comments on commit 60fa5c5

Please sign in to comment.