Skip to content

Commit 6860a6e

Browse files
committed
Add quotes around a UNICODE_STRING when logging
1 parent b09f13a commit 6860a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dumpulator/dumpulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ def _arg_to_string(dp: Dumpulator, arg):
13921392
if arg.type is OBJECT_ATTRIBUTES:
13931393
tstr = _object_attributes_to_string(dp, arg)
13941394
elif arg.type is UNICODE_STRING:
1395-
tstr = _unicode_string_to_string(dp, arg)
1395+
tstr = f"\"{_unicode_string_to_string(dp, arg)}\""
13961396
if tstr is not None:
13971397
str += f" /* {tstr} */"
13981398
return str

0 commit comments

Comments
 (0)