mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-08-26 02:04:50 +00:00
modified: patch.py
This commit is contained in:
1
patch.py
1
patch.py
@@ -393,7 +393,6 @@ def patch_squashfs(path,key_dict):
|
||||
if new_data != data:
|
||||
data = new_data
|
||||
modified = True
|
||||
assert modified, f'{file_path} key not patched'
|
||||
with open(f'{file_path}_', 'wb') as f:
|
||||
f.write(data)
|
||||
if 'loader' in files and os.path.isfile(os.path.join(root, 'loader')):
|
||||
|
||||
Reference in New Issue
Block a user