Skip to content

Commit

Permalink
fix USN update
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanljones committed Oct 26, 2023
1 parent 8073e4d commit b18f8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrekordbox/db6/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def autoincrement_local_update_count(self, set_row_usn=True):
if not isinstance(instances, list):
instances = [instances]
for instance in instances:
if hasattr(instance, "rb_local_usn") and op != "delete":
if hasattr(instance, "rb_local_usn"):
instance.rb_local_usn = usn
reg.int_1 = usn

Expand Down

0 comments on commit b18f8ca

Please sign in to comment.