Skip to content

Commit

Permalink
style: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
BPR02 committed Dec 13, 2024
1 parent cb19247 commit 7af5549
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions beet_observer/data_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,10 @@ def gen_registry_overlay(
else:
# check if files are exactly the same
try:
if isinstance(registry[name],Structure):
registry_overlay[name].data['DataVersion'] = registry[name].data['DataVersion']
if isinstance(registry[name], Structure):
registry_overlay[name].data["DataVersion"] = registry[name].data[
"DataVersion"
]
if registry[name].data != registry_overlay[name].data:
# move file from overlay pack to overlay in build pack
ctx.data.overlays[overlay_dir][name] = registry_overlay[name]
Expand Down

0 comments on commit 7af5549

Please sign in to comment.