From 2a74fce12791e02f9c257008ebff3685715fb540 Mon Sep 17 00:00:00 2001 From: lingeringwillx <111698406+lingeringwillx@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:40:49 +0300 Subject: [PATCH] . --- structio.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/structio.py b/structio.py index 7fb1c6c..03d399e 100644 --- a/structio.py +++ b/structio.py @@ -103,9 +103,8 @@ def unpack_7bint(self, b, start=0): byte = b[start + i] number += byte << (7 * i) - length = i + 1 - return number, length + return number, i + 1 def pack_7bint(self, number): b = b'' @@ -287,4 +286,4 @@ def skip_7bint(self): while self.read_int(1) > 127: pass - return self.tell() \ No newline at end of file + return self.tell()