Skip to content

Commit 0f5ed47

Browse files
committed
fix: dump extra after namespaced files
1 parent 9214d0e commit 0f5ed47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

beet/library/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,12 +1159,12 @@ def unveil(self, prefix: str, origin: Union[FileSystemPath, UnveilMapping]):
11591159

11601160
def dump(self, origin: FileOrigin):
11611161
"""Write the content of the pack to a zipfile or to the filesystem"""
1162-
extra = {path: item for path, item in self.extra.items()}
1163-
_dump_files(origin, extra)
1164-
11651162
for namespace_name, namespace in self.items():
11661163
namespace.dump(namespace_name, origin)
11671164

1165+
extra = {path: item for path, item in self.extra.items()}
1166+
_dump_files(origin, extra)
1167+
11681168
def save(
11691169
self,
11701170
directory: Optional[FileSystemPath] = None,

0 commit comments

Comments
 (0)