Skip to content

Commit f38bdda

Browse files
author
cabrol
committed
Fix test not passing
Signed-off-by: qcabrol
1 parent 566d131 commit f38bdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dissect/cstruct/cstruct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _read(self, stream):
8181
8282
return Instance(self, r, sizes)
8383
84-
def add_fields(self, name, type_, offset=None, commentAttributes={}):
84+
def add_fields(self, name, type_, offset=None, commentAttributes={{}}):
8585
raise NotImplementedError("Can't add fields to a compiled structure")
8686
8787
def __repr__(self):

0 commit comments

Comments
 (0)