Skip to content

Commit 7ef2ab1

Browse files
committed
more updation
1 parent fe3bcbc commit 7ef2ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SliderPuzzleActivity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def read_file(self, file_path):
373373
self.ui._thaw(json.read(session_data))
374374

375375
def write_file(self, file_path):
376-
session_data = json.dumps(self.ui._freeze())
376+
session_data = json.write(self.ui._freeze())
377377
f = open(file_path, 'w')
378378
try:
379379
f.write(session_data)

0 commit comments

Comments
 (0)