Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yeliqin666 authored Nov 11, 2023
1 parent c657bb0 commit d7b3d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ def insuper(Imgdir, outputimg, ssize, stype, sparse, minsize):
superpa += f"-block-size={settings.SBLOCKSIZE} "
for imag in os.listdir(Imgdir):
if imag.endswith('.img'):
image = imag.split('.')[0].replace('_a', '').replace('_b', '')
image = imag.split('.')[0]
if f'partition {image}:readonly' not in superpa and f'partition {image}_a:readonly' not in superpa:
print(f"待打包分区:{image}")
if stype in ['VAB', 'AB']:
Expand Down

0 comments on commit d7b3d9e

Please sign in to comment.