Skip to content

Commit 6a75429

Browse files
committed
Fix the FileObject dataclass
1 parent 6860a6e commit 6a75429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dumpulator/handles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def write(self, buffer: bytes, size: Optional[int] = None):
4747
@dataclass
4848
class FileObject(AbstractFileObject):
4949
data: Optional[bytes] = None
50-
file_offset = 0
50+
file_offset: int = 0
5151

5252
def __str__(self):
5353
return self.pretty("path", "file_offset")

0 commit comments

Comments
 (0)