From 28866e5bf06d81651b946709d9d8bd72a9397e0e Mon Sep 17 00:00:00 2001 From: seiya-git Date: Mon, 1 Jan 2024 12:15:22 +0300 Subject: [PATCH] PFS0 fixes --- py/nstools/Fs/Pfs0.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/py/nstools/Fs/Pfs0.py b/py/nstools/Fs/Pfs0.py index a9320c8..7b80f0a 100644 --- a/py/nstools/Fs/Pfs0.py +++ b/py/nstools/Fs/Pfs0.py @@ -136,12 +136,8 @@ def add(self, name, size, pleaseNoPrint = None): self.files.append({'name': name, 'size': size, 'offset': self.pos}) return self - def resize(self, name, size): - for i in self.files: - if i['name'] == name: - i['size'] = size - return True - return False + def get(self, name): + return self def close(self): pass