aboutsummaryrefslogtreecommitdiff
path: root/srb.py
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-03-20 09:42:35 -0400
committerB. Stack <bgstack15@gmail.com>2024-03-20 09:42:35 -0400
commit30b5e3c1c1fd9de17ed57f8b5a51699be1e1e784 (patch)
tree406f66362592174645ee2e9f86d24f8f7445048e /srb.py
parentminor refactoring, clean up extra comments (diff)
downloadsrb_lib-30b5e3c1c1fd9de17ed57f8b5a51699be1e1e784.tar.gz
srb_lib-30b5e3c1c1fd9de17ed57f8b5a51699be1e1e784.tar.bz2
srb_lib-30b5e3c1c1fd9de17ed57f8b5a51699be1e1e784.zip
simplify checksum, rearrange position bytes
* simplify checksum work by packing its value as little-endian unsigned. * rearranged bytes to be in order
Diffstat (limited to 'srb.py')
-rwxr-xr-xsrb.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/srb.py b/srb.py
index 1687d12..8fe12bf 100755
--- a/srb.py
+++ b/srb.py
@@ -384,7 +384,4 @@ else:
if args.checksum:
f = args.file
- #for f in args.file:
- if debuglev(1,debuglevel):
- ferror(f"Fixing checksum for file {f}")
srb_lib.correct_file(f,debuglevel)
bgstack15