diff --git a/Snippets/edit_raw_table_data.py b/Snippets/edit_raw_table_data.py index 91f116e59..89326fe6c 100644 --- a/Snippets/edit_raw_table_data.py +++ b/Snippets/edit_raw_table_data.py @@ -16,7 +16,7 @@ raw_data = font.getTableData(table_tag) # Do something with the raw table data # This example just sets an empty DSIG table. -raw_data = "\0\0\0\1\0\0\0\0" +raw_data = b"\0\0\0\1\0\0\0\0" # Write the data back to the font