File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,12 @@ def beet_default(ctx: Context):
4545 "rp"
4646 ]
4747 # save current overlays
48- save : list [str ] = []
48+ save_dp : list [str ] = []
49+ save_rp : list [str ] = []
4950 for overlay in ctx .data .overlays :
50- save .append (overlay )
51+ save_dp .append (overlay )
52+ for overlay in ctx .assets .overlays :
53+ save_rp .append (overlay )
5154 # loop through all overlays
5255 for overlay in ctx .meta ["observer" ]["overlays" ]:
5356 # get pack
@@ -67,9 +70,9 @@ def beet_default(ctx: Context):
6770 rp_dir = overlay ["directory" ]
6871 # compare build pack and overlay pack
6972 if not cached_dp and ctx .data :
70- gen_dp_overlays (ctx , ctx_overlay , dp_dir , save )
73+ gen_dp_overlays (ctx , ctx_overlay , dp_dir , save_dp )
7174 if not cached_rp and ctx .assets :
72- gen_rp_overlays (ctx , ctx_overlay , rp_dir , save )
75+ gen_rp_overlays (ctx , ctx_overlay , rp_dir , save_rp )
7376
7477 # save to cache
7578 if not cached_dp and ctx .data :
You can’t perform that action at this time.
0 commit comments