diff --git a/run.py b/run.py index 3a9a444..23d914b 100644 --- a/run.py +++ b/run.py @@ -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']: