Skip to content

Commit

Permalink
make sure the file deserializes to json
Browse files Browse the repository at this point in the history
  • Loading branch information
0vercl0k committed Feb 18, 2024
1 parent 6ab9824 commit 29686bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux_mode/qemu_snapshot/gdb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def write_to_store(content):
# if the file doesn't exist then create it
if not SYMBOL_STORE.exists():
SYMBOL_STORE.touch()
SYMBOL_STORE.write_text("{}")

# read the symbol store data into data variable
data = json.loads(SYMBOL_STORE.read_text("utf-8"))
Expand Down

0 comments on commit 29686bf

Please sign in to comment.